Skip to content

Commit

Permalink
Clarify imports plugin vs. console
Browse files Browse the repository at this point in the history
  • Loading branch information
rproepp committed Sep 3, 2013
1 parent a90aec4 commit 854842b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/source/extending.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ using ``matplotlib`` for the plot, you first have to import it by adding::

import matplotlib.pyplot as plt

at the top of the plugin file.
at the top of the plugin file. Note that ``matplotlib`` is already imported
in the console, but you have to explicitly import everything you need in
plugins.

Next, replace the code in the ``start`` method by::

Expand Down

0 comments on commit 854842b

Please sign in to comment.