Sure:

--- axis.py     2010-08-18 09:59:25.000000000 -0400
+++ axis.py.orig        2010-08-18 09:58:13.000000000 -0400
@@ -1049,12 +1049,9 @@
     def _get_offset_text(self):
         raise NotImplementedError('Derived must override')

-    def get_gridlines(self,minor=False):
+    def get_gridlines(self):
         'Return the grid lines as a list of Line2D instance'
-        if minor:
-           ticks = self.get_minor_ticks()
-        else:
-           ticks = self.get_major_ticks()
+        ticks = self.get_major_ticks()
         return cbook.silent_list('Line2D gridline', [tick.gridline for tick
in ticks])

     def get_label(self):


On Wed, Aug 18, 2010 at 1:05 PM, Ryan May <rma...@gmail.com> wrote:

> On Wed, Aug 18, 2010 at 9:25 AM, Daniel Hyams <dhy...@gmail.com> wrote:
> > This is a small patch to enable get_gridlines to be able to get the grid
> > lines for the minor ticks as well.
> > 1052c1052
> > <     def get_gridlines(self):
> > ---
> >>     def get_gridlines(self,minor=False):
> > 1054c1054,1055
> > <         ticks = self.get_major_ticks()
> > ---
> >>         if minor: ticks = self.get_minor_ticks()
> >>         else:     ticks = self.get_major_ticks()
>
> Thanks for the contribution. Can you regenerate using: diff -u
> so we can easily apply to the tree?
>
> Thanks,
>
> Ryan
>
> --
> Ryan May
> Graduate Research Assistant
> School of Meteorology
> University of Oklahoma
>



-- 
Daniel Hyams
dhy...@gmail.com
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to