Re: [Matplotlib-users] Interative legend manipulation?

2014-01-08 Thread Pierre Haessig
Le 07/01/2014 17:51, Paul Hobson a écrit :
 I believe (as of v1.3.1) that after you create the legend you call
 leg.draggable(True)
I had never heard of that nice possibility!

Would it make sense to add a few lines to the Legend Guide/Legend location ?
http://matplotlib.org/users/legend_guide.html#legend-location

and possibly to the legend demo ?
http://matplotlib.org/examples/api/legend_demo.html

(and remove 
http://matplotlib.org/examples/old_animation/draggable_legend.html ?)

best,
Pierre

attachment: pierre_haessig.vcf

signature.asc
Description: OpenPGP digital signature
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] don't understand interactive mode

2014-01-08 Thread Neal Becker
I am trying to update a figure in a loop:

import matplotlib.pyplot as plt
plt.ion()
plt.figure (1)
def c2r (z):
return z.real, z.imag

plt.hexbin (*c2r (run_ofdm (xconst_pred)[:opt.used]), mincnt=1)
plt.draw()

But no figure appears on the screen.  What am I doing wrong?

This is using using Qt4Agg (I think, that's what's in my matplotlibrc)


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Matplotlib interactive shortcuts?

2014-01-08 Thread Skip Montanaro
I'm happy with the draggable legends, but I have a problem. It seems
there are three pointer modes, the initial mode (updates x, y as you
move the mouse), zoom rectangle mode, and pan/zoom mode. Once I enter
either of those modes, I can't see how to get back to the original
mode. I found this navigation documentation:

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Matplotlib interactive shortcuts?

2014-01-08 Thread Skip Montanaro
Apologies. Gmail (or my fingers) were acting up...

On Wed, Jan 8, 2014 at 3:39 PM, Skip Montanaro s...@pobox.com wrote:
 I'm happy with the draggable legends, but I have a problem. It seems
 there are three pointer modes, the initial mode (updates x, y as you
 move the mouse), zoom rectangle mode, and pan/zoom mode. Once I enter
 either of those modes, I can't see how to get back to the original
 mode. I found this navigation documentation:

http://matplotlib.org/users/navigation_toolbar.html

but I didn't see any way to get back to the starting mode (what's that
mode called?), and the legend can only be moved as far as I can tell
when that is the current mode.

Thx,

Skip

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Matplotlib interactive shortcuts?

2014-01-08 Thread Eric Firing
On 2014/01/08 11:40 AM, Skip Montanaro wrote:
 Apologies. Gmail (or my fingers) were acting up...

 On Wed, Jan 8, 2014 at 3:39 PM, Skip Montanaro s...@pobox.com wrote:
 I'm happy with the draggable legends, but I have a problem. It seems
 there are three pointer modes, the initial mode (updates x, y as you
 move the mouse), zoom rectangle mode, and pan/zoom mode. Once I enter
 either of those modes, I can't see how to get back to the original
 mode. I found this navigation documentation:

 http://matplotlib.org/users/navigation_toolbar.html

 but I didn't see any way to get back to the starting mode (what's that
 mode called?), and the legend can only be moved as far as I can tell
 when that is the current mode.

If you are in pan/zoom or rectangle mode, just unselect it by clicking 
its select button again.

Ideally we would have an obvious radio button setup for this.

Eric


 Thx,

 Skip


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] don't understand interactive mode

2014-01-08 Thread rhodeshart
Hi
I don't have a satisfactory answer, but have found I needed two draw()
commands to get screen output.  I dont understand why.
Cheers
Rhodes



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/don-t-understand-interactive-mode-tp42686p42691.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users