[Matplotlib-users] Arrows with circular curvature

2013-05-17 Thread Mark Budde
I am trying to draw plasmid maps in matplotlib. This requires drawing arrows with a circular curvature (see here for example http://www.encyclon.net/docs/plasmidmap/images/ex6.gif). However, when I try to curve the arrows, for instance using this example ( http://matplotlib.org/api/artist_api.html#

[Matplotlib-users] Pick artist in PolyCollection

2013-05-17 Thread Florian M. Wagner
Dear matplotlib users, is it possible to pick an individual artist (Polygon) within a PolyCollection? Cheers, Florian -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with t

Re: [Matplotlib-users] Squashed axes with AxesGrid

2013-05-17 Thread Matthias Flor
Thanks for the comment, Jonathan. Yeah, I did not expect aspect='equal' to work but I tried it anyway ;-) Removing the extent argument indeed produces a very nice output but I have not tried yet to also get the tick labels right. Instead, I have now reverted back to matplotlib.pylab's subplots met

Re: [Matplotlib-users] legend marker update problem

2013-05-17 Thread Sterling Smith
Gregorio, I'm glad that helped. I have not reported it on the issue tracker, but your case certainly has more of a bug with it (where it works sometimes, but not always), so I would recommend it. -Sterling On May 17, 2013, at 2:10AM, Gregorio Bastardo wrote: > Hi Sterling, > > Thanks for

Re: [Matplotlib-users] Squashed axes with AxesGrid

2013-05-17 Thread Jonathan Slavin
Matthias, It's clear to me why apect='equal' doesn't work for you. That option means to give the axes equal scaling -- i.e., the ratio of length in axis units to length in the plot is the same for both axes, so that an axis that goes from 0 to 1 will be twice as long as one that goes from 0 to 0.

Re: [Matplotlib-users] legend marker update problem

2013-05-17 Thread Gregorio Bastardo
Hi Sterling, Thanks for the hint, using "line._legmarker" attribute solved the problem. I see the reason behind, however I still consider this as an incorrect behaviour, since marker toggling works in case the line is originally added to the legend without marker (so legend line and marker do not