Revision: 7409
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7409&view=rev
Author:   ryanmay
Date:     2009-08-06 19:28:16 +0000 (Thu, 06 Aug 2009)

Log Message:
-----------
Tweak solution for hiding colorbar_doc to sync with trunk.

Modified Paths:
--------------
    branches/v0_99_maint/lib/matplotlib/pyplot.py

Modified: branches/v0_99_maint/lib/matplotlib/pyplot.py
===================================================================
--- branches/v0_99_maint/lib/matplotlib/pyplot.py       2009-08-06 19:24:40 UTC 
(rev 7408)
+++ branches/v0_99_maint/lib/matplotlib/pyplot.py       2009-08-06 19:28:16 UTC 
(rev 7409)
@@ -1358,8 +1358,7 @@
 
 ## Plotting part 1: manually generated functions and wrappers ##
 
-
-from matplotlib.colorbar import colorbar_doc as _colorbar_doc
+import matplotlib.colorbar
 def colorbar(mappable=None, cax=None, ax=None, **kw):
     if mappable is None:
         mappable = gci()
@@ -1369,7 +1368,7 @@
     ret = gcf().colorbar(mappable, cax = cax, ax=ax, **kw)
     draw_if_interactive()
     return ret
-colorbar.__doc__ = _colorbar_doc
+colorbar.__doc__ = matplotlib.colorbar.colorbar_doc
 
 def clim(vmin=None, vmax=None):
     """
@@ -2691,5 +2690,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.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to