Show More
@@ -1,7 +1,7 | |||||
1 | """Manual test for figure.show() in the inline matplotlib backend. |
|
1 | """Manual test for figure.show() in the inline matplotlib backend. | |
2 |
|
2 | |||
3 | This script should be loaded for interactive use (via %load) into a qtconsole |
|
3 | This script should be loaded for interactive use (via %load) into a qtconsole | |
4 |
or notebook initialized with the |
|
4 | or notebook initialized with the inline backend. | |
5 |
|
5 | |||
6 | Expected behavior: only *one* copy of the figure is shown. |
|
6 | Expected behavior: only *one* copy of the figure is shown. | |
7 |
|
7 | |||
@@ -14,7 +14,7 https://github.com/matplotlib/matplotlib/issues/835 | |||||
14 | import numpy as np |
|
14 | import numpy as np | |
15 | import matplotlib.pyplot as plt |
|
15 | import matplotlib.pyplot as plt | |
16 |
|
16 | |||
17 | plt.ioff() |
|
17 | plt.ioff() | |
18 | x = np.random.uniform(-5, 5, size=(100)) |
|
18 | x = np.random.uniform(-5, 5, size=(100)) | |
19 | y = np.random.uniform(-5, 5, size=(100)) |
|
19 | y = np.random.uniform(-5, 5, size=(100)) | |
20 | f = plt.figure() |
|
20 | f = plt.figure() |
General Comments 0
You need to be logged in to leave comments.
Login now