Revision: 8610
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8610&view=rev
Author: weathergod
Date: 2010-08-01 21:01:25 +0000 (Sun, 01 Aug 2010)
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.
|