8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19d5029 commit 1969adcCopy full SHA for 1969adc
lib/matplotlib/backend_bases.py
@@ -1719,6 +1719,12 @@ def get_width_height(self):
1719
# classes inherit from FigureCanvasBase
1720
# b) so we don't import a bunch of stuff the user may never use
1721
1722
+ # TODO: these print_* throw ImportErrror when called from
1723
+ # compare_images_decorator (decorators.py line 112)
1724
+ # if the backend has not already been loaded earlier on. Simple trigger:
1725
+ # >>> import matplotlib.tests.test_spines
1726
+ # >>> list(matplotlib.tests.test_spines.test_spines_axes_positions())[0][0]()
1727
+
1728
def print_emf(self, *args, **kwargs):
1729
from backends.backend_emf import FigureCanvasEMF # lazy import
1730
emf = self.switch_backends(FigureCanvasEMF)
0 commit comments