The SVG backend is also useful for debugging because it
> gives you a text list of everything the frontend does. For
> example I can look at the output of './simple_plot.py
> -dSVG' and see that the frontend seems to have a bug where
> its drawing every tickline twice. I had a look at axis.py
> but could not work out what was going on.
Just found and fixed this one. The problem was in axis.py. All of
the thick creation functions were like
def _get_tick2line(self, loc):
'Get the default line2D instance'
# x in axes coords, y in data coords
l = Line2D( (1,1), (0,0), color='k',
antialiased=False,
marker = TICKLEFT,
linestyle = 'None',
markersize=self._size,
)
and later these positions were updated like
self.tick2line.set_ydata((y,y))
These should all be length one lists
l = Line2D( (1,), (0,), color='k',
antialiased=False,
marker = TICKLEFT,
linestyle = 'None',
markersize=self._size,
)
self.tick2line.set_ydata((y,))
Fixed in CVS
JDH