Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 441d5aa

Browse files
author
cclauss
committed
import matplotlib.pyplot as plt in axis_artist.py
1 parent 54a4a58 commit 441d5aa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/mpl_toolkits/axisartist/axis_artist.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@
9191
# FIXME :
9292
# angles are given in data coordinate - need to convert it to canvas coordinate
9393

94+
9495
import matplotlib.artist as martist
95-
import matplotlib.pyplot as plt
9696
import matplotlib.text as mtext
9797
import matplotlib.font_manager as font_manager
9898

@@ -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)