From: <jd...@us...> - 2008-05-28 15:33:11
|
Revision: 5286 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5286&view=rev Author: jdh2358 Date: 2008-05-28 08:33:03 -0700 (Wed, 28 May 2008) Log Message: ----------- fixed an and/or bug in patch limits Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/axes.py Modified: trunk/matplotlib/lib/matplotlib/axes.py =================================================================== --- trunk/matplotlib/lib/matplotlib/axes.py 2008-05-28 14:39:23 UTC (rev 5285) +++ trunk/matplotlib/lib/matplotlib/axes.py 2008-05-28 15:33:03 UTC (rev 5286) @@ -1234,7 +1234,7 @@ # the bins, counts and patches lined up, but it throws off log # scaling. We'll ignore rects with zero height or width in # the auto-scaling - if isinstance(p, mpatches.Rectangle) and p.get_width()==0. or p.get_height()==0.: + if isinstance(p, mpatches.Rectangle) and p.get_width()==0. and p.get_height()==0.: return vertices = p.get_patch_transform().transform(p.get_path().vertices) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |