Revision: 7195
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7195&view=rev
Author: jdh2358
Date: 2009-06-07 14:15:28 +0000 (Sun, 07 Jun 2009)
Log Message:
-----------
removed reserved name "as" from some examples
Modified Paths:
--------------
trunk/matplotlib/examples/axes_grid/inset_locator_demo.py
trunk/matplotlib/examples/axes_grid/simple_anchored_artists.py
Modified: trunk/matplotlib/examples/axes_grid/inset_locator_demo.py
===================================================================
--- trunk/matplotlib/examples/axes_grid/inset_locator_demo.py 2009-06-07
14:13:12 UTC (rev 7194)
+++ trunk/matplotlib/examples/axes_grid/inset_locator_demo.py 2009-06-07
14:15:28 UTC (rev 7195)
@@ -5,13 +5,13 @@
def add_sizebar(ax, size):
- as = AnchoredSizeBar(ax.transData,
+ asb = AnchoredSizeBar(ax.transData,
size,
str(size),
loc=8,
pad=0.1, borderpad=0.5, sep=5,
frameon=False)
- ax.add_artist(as)
+ ax.add_artist(asb)
fig = plt.figure(1, [5.5, 3])
Modified: trunk/matplotlib/examples/axes_grid/simple_anchored_artists.py
===================================================================
--- trunk/matplotlib/examples/axes_grid/simple_anchored_artists.py
2009-06-07 14:13:12 UTC (rev 7194)
+++ trunk/matplotlib/examples/axes_grid/simple_anchored_artists.py
2009-06-07 14:15:28 UTC (rev 7195)
@@ -38,13 +38,13 @@
from mpl_toolkits.axes_grid.anchored_artists import AnchoredSizeBar
# 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)
if 1:
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins