[matplotlib-devel] Help with scatter

2008-11-10 Thread Andrew Stock
Hi, I'm trying to specify the colours for markers in a call to scatter. I've read this information in the documentation: c: a color. c can be a single color format string, or a sequence of color specifications of length N, or a sequence of N numbers to be mapped to colors using the cmap and n

Re: [matplotlib-devel] SVG clickable images

2008-11-07 Thread Andrew Stock
self._svgwriter.write ( > ' '%s xlink:href="'%(x/trans[0], > (self.height-y)/trans[3]-h, w, h, transstr) > @@ -298,6 +310,8 @@ > self._svgwriter.write(filename) > > self._svgwriter.write('"/>\n')

Re: [matplotlib-devel] SVG clickable images

2008-11-06 Thread Andrew Stock
ages. Once that's done, I'm happy to apply the patch. > And if you plan to make a lot of changes in the future, it generally pretty > easy to get commit access. Just ask. > > Mike > > Andrew Stock wrote: >> >> Hi, >> >> I've attached

Re: [matplotlib-devel] SVG clickable images

2008-11-05 Thread Andrew Stock
in the future). You will also need > to update RendererBase._iter_collection to support iterating over URLs in > the same way as everything else there. > > draw_image also doesn't use a gc, so you'll need to add an argument there. > > Hope that gives you a road map... Pl

[matplotlib-devel] SVG clickable images

2008-10-29 Thread Andrew Stock
Hi, I have a requirement to make clickable bar charts using the SVG output (rather than html maps). An initial look has suggested that the following changes would be required: backend_bases.py: Add a url property to GraphicsContextBase (defaulting to None, so it's all backwards compatible) axes.