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

Skip to content

Commit 9000401

Browse files
committed
[3137172] Fix cyclical import problem.
svn path=/branches/v1_0_maint/; revision=8841
1 parent 95b98b5 commit 9000401

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/tri/triplot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import matplotlib.axes
21
from matplotlib.cbook import ls_mapper
32
from matplotlib.patches import PathPatch
43
from matplotlib.path import Path
@@ -39,6 +38,8 @@ def triplot(ax, *args, **kwargs):
3938
4039
.. plot:: mpl_examples/pylab_examples/triplot_demo.py
4140
"""
41+
import matplotlib.axes
42+
4243
tri, args, kwargs = Triangulation.get_from_args_and_kwargs(*args, **kwargs)
4344

4445
x = tri.x

0 commit comments

Comments
 (0)