|
From: <lee...@us...> - 2009-11-06 21:55:09
|
Revision: 7946
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7946&view=rev
Author: leejjoon
Date: 2009-11-06 21:54:57 +0000 (Fri, 06 Nov 2009)
Log Message:
-----------
do not check the visibility of bbox_extra_artists of savefig
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/backend_bases.py
Modified: trunk/matplotlib/lib/matplotlib/backend_bases.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backend_bases.py 2009-11-06 19:26:35 UTC (rev 7945)
+++ trunk/matplotlib/lib/matplotlib/backend_bases.py 2009-11-06 21:54:57 UTC (rev 7946)
@@ -1613,8 +1613,8 @@
renderer = self.figure._cachedRenderer
bbox_inches = self.figure.get_tightbbox(renderer)
- bb = [a.get_window_extent(renderer) for a in kwargs.pop("bbox_extra_artists", []) \
- if a.get_visible()]
+ bb = [a.get_window_extent(renderer) for a \
+ in kwargs.pop("bbox_extra_artists", [])]
if bb:
_bbox = 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.
|