SourceForge logo
SourceForge logo
Menu

matplotlib-checkins

Revision: 8610
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8610&view=rev
Author: weathergod
Date: 2010年08月01日 21:01:25 +0000 (2010年8月01日)
Log Message:
-----------
Fixed inconsistency with argument handling between 2d and 3d versions of contour.
Documentation is fixed as well for 3d versions of contour and contourf.
Modified Paths:
--------------
 branches/v1_0_maint/lib/mpl_toolkits/mplot3d/axes3d.py
Modified: branches/v1_0_maint/lib/mpl_toolkits/mplot3d/axes3d.py
===================================================================
--- branches/v1_0_maint/lib/mpl_toolkits/mplot3d/axes3d.py	2010年08月01日 06:38:34 UTC (rev 8609)
+++ branches/v1_0_maint/lib/mpl_toolkits/mplot3d/axes3d.py	2010年08月01日 21:01:25 UTC (rev 8610)
@@ -896,7 +896,7 @@
 for col in colls:
 self.collections.remove(col)
 
- def contour(self, X, Y, Z, levels=10, **kwargs):
+ def contour(self, X, Y, Z, *args, **kwargs):
 '''
 Create a 3D contour plot.
 
@@ -912,7 +912,7 @@
 lines on this position in plane normal to zdir
 ========== ================================================
 
- Other keyword arguments are passed on to
+ The positional and other keyword arguments are passed on to
 :func:`~matplotlib.axes.Axes.contour`
 
 Returns a :class:`~matplotlib.axes.Axes.contour`
@@ -926,7 +926,7 @@
 had_data = self.has_data()
 
 jX, jY, jZ = art3d.rotate_axes(X, Y, Z, zdir)
- cset = Axes.contour(self, jX, jY, jZ, **kwargs)
+ cset = Axes.contour(self, jX, jY, jZ, *args, **kwargs)
 
 zdir = '-' + zdir
 if extend3d:
@@ -948,7 +948,7 @@
 
 *X*, *Y*, *Z*: data points.
 
- Keyword arguments are passed on to
+ The positional and keyword arguments are passed on to
 :func:`~matplotlib.axes.Axes.contourf`
 
 Returns a :class:`~matplotlib.axes.Axes.contourf`
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /