Re: [matplotlib-devel] clipping tick lines

2008-07-31 Thread Michael Droettboom
Aha -- here from John (in another thread) is why those lines were commented out: On Sun, Jul 27, 2008 at 4:24 PM, John Hunter <[EMAIL PROTECTED]> wrote: > >if midPoint: > >if self.gridOn: > >self.gridline.draw(renderer) > >if self.tick1On: >

Re: [matplotlib-devel] clipping tick lines

2008-07-31 Thread Michael Droettboom
(Just back from vacation) That change was long enough ago that I don't remember the reason -- it may have just been a debugging hack that made its way into the code. Let's leave it uncommented until someone notices breakage... ;) Cheers, Mike Ryan May wrote: > Eric Firing wrote: > >>> Anyon

Re: [matplotlib-devel] Clipping

2008-07-27 Thread John Hunter
On Sun, Jul 27, 2008 at 4:24 PM, John Hunter <[EMAIL PROTECTED]> wrote: >if midPoint: >if self.gridOn: >self.gridline.draw(renderer) >if self.tick1On: >self.tick1line.draw(renderer) >if self.tick2On: >self.

Re: [matplotlib-devel] Clipping

2008-07-27 Thread John Hunter
On Sun, Jul 27, 2008 at 3:57 PM, Ryan May <[EMAIL PROTECTED]> wrote: > Hi, > > Can anyone explain how the clipping code works? Or maybe how the backends > decide whether to draw a line? In working on drawing skewT's, I need > slanted gridlines. Through proper setting of transforms, I can get the

[matplotlib-devel] Clipping

2008-07-27 Thread Ryan May
Hi, Can anyone explain how the clipping code works? Or maybe how the backends decide whether to draw a line? In working on drawing skewT's, I need slanted gridlines. Through proper setting of transforms, I can get them to draw slanted fine, but because they are slanted, the data x range at

Re: [matplotlib-devel] clipping tick lines

2008-07-24 Thread Ryan May
Eric Firing wrote: >> Anyone have any ideas? > > I don't, but it appears that the set_clip_path method was introduced in > 4817 by Mike D., complete with the commented-out lines. > http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/lib/matplotlib/axis.py?annotate=5651 > >

Re: [matplotlib-devel] clipping tick lines

2008-07-24 Thread Ryan May
Eric Firing wrote: > Ryan May wrote: >> Hey, >> >> I noticed today, while working on my skewT, that you can't tell the >> axis objects to clip their ticklines. If you want to set clipping on >> each individual tickline. I saw that the code is there in the >> relevant classes, but the lines to s

Re: [matplotlib-devel] clipping tick lines

2008-07-24 Thread Eric Firing
Ryan May wrote: > Hey, > > I noticed today, while working on my skewT, that you can't tell the axis > objects to clip their ticklines. If you want to set clipping on each > individual tickline. I saw that the code is there in the relevant > classes, but the lines to set clipping are disabled i

[matplotlib-devel] clipping tick lines

2008-07-24 Thread Ryan May
Hey, I noticed today, while working on my skewT, that you can't tell the axis objects to clip their ticklines. If you want to set clipping on each individual tickline. I saw that the code is there in the relevant classes, but the lines to set clipping are disabled in set_clip_path() or _set_a