From ca25d1ede1db6af29e97cecef401fcc3bc0a04ad Mon Sep 17 00:00:00 2001 From: cclauss Date: Thu, 8 Feb 2018 23:18:22 +0100 Subject: [PATCH] import matplotlib.pyplot as plt in axis_artist.py --- lib/mpl_toolkits/axisartist/axis_artist.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/mpl_toolkits/axisartist/axis_artist.py b/lib/mpl_toolkits/axisartist/axis_artist.py index edab52f218b9..9deeb195f8ab 100644 --- a/lib/mpl_toolkits/axisartist/axis_artist.py +++ b/lib/mpl_toolkits/axisartist/axis_artist.py @@ -1615,9 +1615,9 @@ def toggle(self, all=None, ticks=None, ticklabels=None, label=None): - def test_axis_artist(): global axisline + import matplotlib.pyplot as plt #self._axislines[loc] = new_fixed_axis(loc=loc, axes=axes) from mpl_toolkits.axisartist import AxisArtistHelperRectlinear @@ -1654,6 +1654,7 @@ def test_axis_artist(): def test_axis_artist2(): global axisline + import matplotlib.pyplot as plt #self._axislines[loc] = new_fixed_axis(loc=loc, axes=axes) from mpl_toolkits.axislines import AxisArtistHelperRectlinear