Revision: 7832
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7832&view=rev
Author: ryanmay
Date: 2009-09-28 21:58:10 +0000 (Mon, 28 Sep 2009)
Log Message:
-----------
Update a couple of remaining uses of gci._current to sci().
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/pyplot.py
Modified: trunk/matplotlib/lib/matplotlib/pyplot.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/pyplot.py 2009-09-28 17:40:49 UTC (rev
7831)
+++ trunk/matplotlib/lib/matplotlib/pyplot.py 2009-09-28 21:58:10 UTC (rev
7832)
@@ -401,7 +401,7 @@
# allow callers to override the hold state by passing hold=True|False
ret = gcf().figimage(*args, **kwargs)
draw_if_interactive()
- gci._current = ret
+ sci(ret)
return ret
def figlegend(handles, labels, loc, **kwargs):
@@ -1444,7 +1444,7 @@
ax = fig.add_axes([0.15, 0.09, 0.775, 0.775])
im = ax.matshow(A, **kw)
- gci._current = im
+ sci(im)
draw_if_interactive()
return im
@@ -2629,7 +2629,3 @@
if im is not None:
im.set_cmap(cm.spectral)
draw_if_interactive()
-
-
-
-
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins