Show More
@@ -10,7 +10,7 b' import sys' | |||||
10 |
|
10 | |||
11 | # Third-party imports |
|
11 | # Third-party imports | |
12 | import matplotlib |
|
12 | import matplotlib | |
13 | from matplotlib.backends.backend_agg import new_figure_manager |
|
13 | from matplotlib.backends.backend_agg import new_figure_manager, FigureCanvasAgg | |
14 | from matplotlib._pylab_helpers import Gcf |
|
14 | from matplotlib._pylab_helpers import Gcf | |
15 |
|
15 | |||
16 | # Local imports. |
|
16 | # Local imports. | |
@@ -207,3 +207,6 b' def flush_figures():' | |||||
207 | show._to_draw = [] |
|
207 | show._to_draw = [] | |
208 | show._draw_called = False |
|
208 | show._draw_called = False | |
209 |
|
209 | |||
|
210 | ||||
|
211 | FigureCanvas = FigureCanvasAgg | |||
|
212 |
General Comments 0
You need to be logged in to leave comments.
Login now