Skip to content

Commit 6613a4b

Browse files
committed
update FQA of matplotlib
1 parent cc60006 commit 6613a4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/user/more.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ If you run the script via SSH control, sometime you may find the following error
8181
8282
_tkinter.TclError: no display name and no $DISPLAY environment variable
8383
84-
If happen, ``import matplotlib matplotlib.use('Agg')`` before import ``tensorlayer as tl``.
84+
If happen, use ``import matplotlib`` and ``matplotlib.use('Agg')`` before ``import tensorlayer as tl``.
8585
Alternatively, add the following code into the top of ``visualize.py``.
8686

8787
.. code-block:: python

0 commit comments

Comments
 (0)