Revision: 7094
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7094&view=rev
Author: jdh2358
Date: 2009-05-07 15:10:42 +0000 (Thu, 07 May 2009)
Log Message:
-----------
remove reserved word as from example
Modified Paths:
--------------
trunk/matplotlib/examples/pylab_examples/anchored_artists.py
Modified: trunk/matplotlib/examples/pylab_examples/anchored_artists.py
===================================================================
--- trunk/matplotlib/examples/pylab_examples/anchored_artists.py
2009-05-07 04:09:12 UTC (rev 7093)
+++ trunk/matplotlib/examples/pylab_examples/anchored_artists.py
2009-05-07 15:10:42 UTC (rev 7094)
@@ -77,7 +77,7 @@
if __name__ == "__main__":
import matplotlib.pyplot as plt
-
+
ax = plt.gca()
ax.set_aspect(1.)
@@ -101,13 +101,13 @@
# draw a horizontal bar with length of 0.1 in Data coordinate
# (ax.transData) with a label underneath.
- as = AnchoredSizeBar(ax.transData,
+ asb = AnchoredSizeBar(ax.transData,
0.1,
r"1$^{\prime}$",
loc=8,
pad=0.1, borderpad=0.5, sep=5,
frameon=False)
- ax.add_artist(as)
+ ax.add_artist(asb)
plt.draw()
plt.show()
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins