Revision: 8107
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8107&view=rev
Author:   leejjoon
Date:     2010-02-03 17:56:03 +0000 (Wed, 03 Feb 2010)

Log Message:
-----------
fix axis_artist bug

Modified Paths:
--------------
    trunk/matplotlib/lib/mpl_toolkits/axes_grid/axis_artist.py

Modified: trunk/matplotlib/lib/mpl_toolkits/axes_grid/axis_artist.py
===================================================================
--- trunk/matplotlib/lib/mpl_toolkits/axes_grid/axis_artist.py  2010-02-01 
22:46:30 UTC (rev 8106)
+++ trunk/matplotlib/lib/mpl_toolkits/axes_grid/axis_artist.py  2010-02-03 
17:56:03 UTC (rev 8107)
@@ -226,7 +226,8 @@
         self.set_snap(True)
 
     def get_ref_artist(self):
-        return self._ref_artist.get_ticklines()[0]
+        #return self._ref_artist.get_ticklines()[0]
+        return self._ref_artist.majorTicks[0].tick1line
 
     def get_color(self):
         return self.get_attribute_from_ref_artist("color", "k")
@@ -630,7 +631,7 @@
         #self._extra_pad = 0
 
 
-    # attribute coper
+    # attribute copier
     def get_ref_artist(self):
         return self._axis.get_ticklabels()[0]
 


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

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to