Revision: 8453
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8453&view=rev
Author:   efiring
Date:     2010-06-21 21:41:19 +0000 (Mon, 21 Jun 2010)

Log Message:
-----------
tick_params: fixed errors in handling top, bottom, etc. kwargs.

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/axes.py

Modified: trunk/matplotlib/lib/matplotlib/axes.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/axes.py     2010-06-21 20:53:22 UTC (rev 
8452)
+++ trunk/matplotlib/lib/matplotlib/axes.py     2010-06-21 21:41:19 UTC (rev 
8453)
@@ -2168,13 +2168,17 @@
         """
         if axis in ['x', 'both']:
             xkw = dict(kwargs)
-            xkw.pop('top', None)
-            xkw.pop('bottom', None)
+            xkw.pop('left', None)
+            xkw.pop('right', None)
+            xkw.pop('labelleft', None)
+            xkw.pop('labelright', None)
             self.xaxis.set_tick_params(**xkw)
         if axis in ['y', 'both']:
             ykw = dict(kwargs)
-            ykw.pop('left', None)
-            ykw.pop('right', None)
+            ykw.pop('top', None)
+            ykw.pop('bottom', None)
+            ykw.pop('labeltop', None)
+            ykw.pop('labelbottom', None)
             self.yaxis.set_tick_params(**ykw)
 
     def set_axis_off(self):


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to