Revision: 8190 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8190&view=rev Author: efiring Date: 2010-03-13 19:27:00 +0000 (Sat, 13 Mar 2010)
Log Message: ----------- contour: autolev drops line contour levels only if outside data range Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/contour.py Modified: trunk/matplotlib/lib/matplotlib/contour.py =================================================================== --- trunk/matplotlib/lib/matplotlib/contour.py 2010-03-12 23:23:49 UTC (rev 8189) +++ trunk/matplotlib/lib/matplotlib/contour.py 2010-03-13 19:27:00 UTC (rev 8190) @@ -775,7 +775,8 @@ self._auto = True if self.filled: return lev - return lev[1:-1] + # For line contours, drop levels outside the data range. + return lev[(lev > zmin) & (lev < zmax)] def _initialize_x_y(self, z): ''' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins