Revision: 4347
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4347&view=rev
Author: mdboom
Date: 2007-11-17 04:44:52 -0800 (Sat, 17 Nov 2007)
Log Message:
-----------
Bugfix: [1655313] axis label disappears when minor tick labels are hidden
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/axis.py
Modified: trunk/matplotlib/lib/matplotlib/axis.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/axis.py 2007-11-16 21:47:17 UTC (rev
4346)
+++ trunk/matplotlib/lib/matplotlib/axis.py 2007-11-17 12:44:52 UTC (rev
4347)
@@ -612,10 +612,10 @@
tick.set_label2(label)
tick.draw(renderer)
- if tick.label1On:
+ if tick.label1On and tick.label1.get_visible():
extent = tick.label1.get_window_extent(renderer)
ticklabelBoxes.append(extent)
- if tick.label2On:
+ if tick.label2On and tick.label2.get_visible():
extent = tick.label2.get_window_extent(renderer)
ticklabelBoxes2.append(extent)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins