Re: [Matplotlib-users] Not scaling patches.

2010-08-27 Thread Ryan May
On Fri, Aug 27, 2010 at 1:16 PM, Eric Firing wrote: > On 08/27/2010 07:15 AM, Ryan May wrote: >> You can make the circle this way, specifying everything in axes coordinates: >> >> cp = patches.Circle((.5,.5),.025, transform=ax.transAxes) >> >> However, this puts the circle in the same spot in axes

Re: [Matplotlib-users] Not scaling patches.

2010-08-27 Thread Eric Firing
On 08/27/2010 07:15 AM, Ryan May wrote: > On Thu, Aug 26, 2010 at 2:24 PM, Ben Edwards wrote: >> Hello, I've used matplotlib for a while but never had cause to ask a >> question until now. I am trying to add a patch to an axis, but would like >> the patch to remain the same size when, interactivel

Re: [Matplotlib-users] Not scaling patches.

2010-08-27 Thread Ryan May
On Thu, Aug 26, 2010 at 2:24 PM, Ben Edwards wrote: > Hello, I've used matplotlib for a while but never had cause to ask a > question until now. I am trying to add a patch to an axis, but would like > the patch to remain the same size when, interactively, I resize the > resulting figure. I am usin

Re: [Matplotlib-users] Not scaling patches.

2010-08-27 Thread Ben Edwards
That doesn't quite work the way I want. I guess a good example of the behavior I am looking for is what 'scatter' does. It seems that regardless of the size of the figure the points stay the same size. I would use scatter but would like to have access to the individual patches later to modify them.

Re: [Matplotlib-users] Not scaling patches.

2010-08-27 Thread Benjamin Root
On Thu, Aug 26, 2010 at 2:24 PM, Ben Edwards wrote: > Hello, I've used matplotlib for a while but never had cause to ask a > question until now. I am trying to add a patch to an axis, but would like > the patch to remain the same size when, interactively, I resize the > resulting figure. I am usi

[Matplotlib-users] Not scaling patches.

2010-08-26 Thread Ben Edwards
Hello, I've used matplotlib for a while but never had cause to ask a question until now. I am trying to add a patch to an axis, but would like the patch to remain the same size when, interactively, I resize the resulting figure. I am using TkAgg, and trying the following: >>> import matplotlib.pyp