There was an error while loading. Please reload this page.
1 parent e5a6cd6 commit ac0ec7cCopy full SHA for ac0ec7c
2 files changed
.flake8
@@ -103,7 +103,7 @@ per-file-ignores =
103
tutorials/introductory/images.py: E402, E501
104
tutorials/introductory/pyplot.py: E402, E501
105
tutorials/introductory/sample_plots.py: E501
106
- tutorials/introductory/usage.py: E402, E501
+ tutorials/introductory/usage.py: E501
107
tutorials/text/annotations.py: E501
108
tutorials/text/pgf.py: E501
109
tutorials/text/text_intro.py: E402
tutorials/introductory/usage.py
@@ -603,18 +603,18 @@ def my_plotter(ax, data1, data2, param_dict):
603
# Prior to version 1.0, show() generally could not be called
604
# more than once in a single script (although sometimes one
605
# could get away with it); for version 1.0.1 and above, this
606
-# restriction is lifted, so one can write a script like this:
607
-
608
-import numpy as np
609
-import matplotlib.pyplot as plt
610
611
-plt.ioff()
612
-for i in range(3):
613
- plt.plot(np.random.rand(10))
614
- plt.show()
615
616
-###############################################################################
617
-# which makes three plots, one at a time.
+# restriction is lifted, so one can write a script like this::
+#
+# import numpy as np
+# import matplotlib.pyplot as plt
+# plt.ioff()
+# for i in range(3):
+# plt.plot(np.random.rand(10))
+# plt.show()
+# which makes three plots, one at a time. I.e. the second plot will show up,
+# once the first plot is closed.
618
#
619
# Summary
620
# -------
0 commit comments