Skip to content

Commit ca25d1e

Browse files
author
cclauss
committed
import matplotlib.pyplot as plt in axis_artist.py
1 parent a5367c1 commit ca25d1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/mpl_toolkits/axisartist/axis_artist.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1615,9 +1615,9 @@ def toggle(self, all=None, ticks=None, ticklabels=None, label=None):
16151615

16161616

16171617

1618-
16191618
def test_axis_artist():
16201619
global axisline
1620+
import matplotlib.pyplot as plt
16211621

16221622
#self._axislines[loc] = new_fixed_axis(loc=loc, axes=axes)
16231623
from mpl_toolkits.axisartist import AxisArtistHelperRectlinear
@@ -1654,6 +1654,7 @@ def test_axis_artist():
16541654

16551655
def test_axis_artist2():
16561656
global axisline
1657+
import matplotlib.pyplot as plt
16571658

16581659
#self._axislines[loc] = new_fixed_axis(loc=loc, axes=axes)
16591660
from mpl_toolkits.axislines import AxisArtistHelperRectlinear

0 commit comments

Comments
 (0)