|
From: <lee...@us...> - 2010-05-18 17:14:47
|
Revision: 8318
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8318&view=rev
Author: leejjoon
Date: 2010-05-18 17:14:40 +0000 (Tue, 18 May 2010)
Log Message:
-----------
fix savefig bug
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/axes.py
Modified: trunk/matplotlib/lib/matplotlib/axes.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/axes.py 2010-05-17 19:03:58 UTC (rev 8317)
+++ trunk/matplotlib/lib/matplotlib/axes.py 2010-05-18 17:14:40 UTC (rev 8318)
@@ -8002,7 +8002,7 @@
bb.extend([bby1, bby2])
- bb.extend([c.get_window_extent(renderer) for c in artists])
+ bb.extend([c.get_window_extent(renderer) for c in artists if c.get_visible()])
_bbox = mtransforms.Bbox.union([b for b in bb if b.width!=0 or b.height!=0])
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|