Revision: 8841
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8841&view=rev
Author: mdboom
Date: 2010-12-14 17:37:42 +0000 (Tue, 14 Dec 2010)
Log Message:
-----------
[3137172] Fix cyclical import problem.
Modified Paths:
--------------
branches/v1_0_maint/lib/matplotlib/tri/triplot.py
Modified: branches/v1_0_maint/lib/matplotlib/tri/triplot.py
===================================================================
--- branches/v1_0_maint/lib/matplotlib/tri/triplot.py 2010-12-14 17:31:11 UTC (rev 8840)
+++ branches/v1_0_maint/lib/matplotlib/tri/triplot.py 2010-12-14 17:37:42 UTC (rev 8841)
@@ -1,4 +1,3 @@
-import matplotlib.axes
from matplotlib.cbook import ls_mapper
from matplotlib.patches import PathPatch
from matplotlib.path import Path
@@ -39,6 +38,8 @@
.. plot:: mpl_examples/pylab_examples/triplot_demo.py
"""
+ import matplotlib.axes
+
tri, args, kwargs = Triangulation.get_from_args_and_kwargs(*args, **kwargs)
x = tri.x
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|