Re: [matplotlib-devel] small patch for trunk/matplotlib/lib/matplotlib/axis.py

2010-08-18 Thread Daniel Hyams
Sure: --- axis.py 2010-08-18 09:59:25.0 -0400 +++ axis.py.orig2010-08-18 09:58:13.0 -0400 @@ -1049,12 +1049,9 @@ def _get_offset_text(self): raise NotImplementedError('Derived must override') -def get_gridlines(self,minor=False): +def get_gridline

Re: [matplotlib-devel] small patch for trunk/matplotlib/lib/matplotlib/axis.py

2010-08-18 Thread Ryan May
On Wed, Aug 18, 2010 at 9:25 AM, Daniel Hyams 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 = s

[matplotlib-devel] small patch for trunk/matplotlib/lib/matplotlib/axis.py

2010-08-18 Thread Daniel Hyams
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