From: <ry...@us...> - 2009-08-06 18:49:32
|
Revision: 7406 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7406&view=rev Author: ryanmay Date: 2009-08-06 18:49:24 +0000 (Thu, 06 Aug 2009) Log Message: ----------- Don't leave colorbar_doc as part of the pyplot namespace. Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/pyplot.py Modified: trunk/matplotlib/lib/matplotlib/pyplot.py =================================================================== --- trunk/matplotlib/lib/matplotlib/pyplot.py 2009-08-06 17:09:25 UTC (rev 7405) +++ trunk/matplotlib/lib/matplotlib/pyplot.py 2009-08-06 18:49:24 UTC (rev 7406) @@ -1359,7 +1359,6 @@ ## Plotting part 1: manually generated functions and wrappers ## -from matplotlib.colorbar import colorbar_doc 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. |