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.tick2line.draw(renderer) For a little extra color on what is going on here -- we don't want to automatically clip the tick lines to the axes bounding box because someone might choose the tick direction 'out'. Since we can't use graphical clipping, this test is trying to make sure the tick location is in the view interval before drawing it. You may want to consider a overridable method 'is_draw_tick' or something along those lines, which defaults to:: mtransforms.interval_contains(self.get_view_interval(), self.get_loc()) JDH ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel