Re: [Matplotlib-users] modification to m.scatter

2014-12-17 Thread Sudheer Joseph
Sorry, in below steps, the converting lat lon to map projection coordiate is not working unless I do meshgrid. If I do meshgrid then the scatter 3rd axis get plotted at each grid which is not expected the figure after In [16]: do not result if we follow the steps m =

Re: [Matplotlib-users] matplotlib power spectral density (PSD) value discrepancy

2014-12-17 Thread Eric Firing
On 2014/12/17, 5:37 AM, Thomas Caswell wrote: What version of mpl are you using? These functions got a lot of work between 1.3 and 1.4. Tom, Sorry, I answered only in his parallel github issue. https://github.com/matplotlib/matplotlib/issues/3927. I'm closing it now. The upshot is that psd

[Matplotlib-users] Possible bug in slider.reset() ?

2014-12-17 Thread peterfR
[This post might appear twice, if so, I apologize. The first version is flagged that it has not been accepted yet] I am controlling a simple animation with a slider, successfully. A mouse drag updates the parameter correctly but the slider-bar position is not updated. If samp is a slider, the

Re: [Matplotlib-users] Possible bug in slider.reset() ?

2014-12-17 Thread Benjamin Root
the reset() method is meant to return the slider back to its initialized value, that's it. I suspect what you are having difficulties with has to do with your use of a global variable amp. It is going to be completely unlikely that updates to the slider's val attribute would actually be updating

Re: [Matplotlib-users] Possible bug in slider.reset() ?

2014-12-17 Thread peterfR
I have a simple oscillatory animation with a parameter amp, which I control with a slider. The control works (when I do a mouse-drag on the slider bar), but the slide bar never actually changes it's position because the reset call fails. I don't see why the global statement should have any

Re: [Matplotlib-users] Possible bug in slider.reset() ?

2014-12-17 Thread Benjamin Root
First, I am not sure what you think the reset() method does. samp.reset() does one job. It RESETS the slider. You are not seeing the bar move because it keeps getting reset. Take it out from your code. I do not know what you are trying to do with it. Second, numerical values in python are not

Re: [Matplotlib-users] Possible bug in slider.reset() ?

2014-12-17 Thread Benjamin Root
Looking at the code again, you actually don't need to go the approach of passing an argument. The global amp should work. You just need to not be futzing around with it. Get rid of the three commented out lines. They do you no good. Ben Root On Wed, Dec 17, 2014 at 4:06 PM, Benjamin Root

[Matplotlib-users] Matplotlib Installation error

2014-12-17 Thread MIS_91
Hi folks, Sorry to bother you with an installationg problem. But I really want to get matplotlib. I have Windows 8 (64) and python 2.7, I've succesfully fully installed pygame and numpy. When I start the installation of matplotlib (I've tried 1.4.0 and 1.4.2) I get an error message telling that