[Matplotlib-users] When data is graphed with an offset

2016-06-22 Thread John Ladasky
Hi there, I have been subscribed to matplotlib-users before. I have a new job, and now I'm connecting from a new email address. I've been using Matplotlib since before 1.0 was released. Currently, I'm using MPL 1.4.2 and Python 3.5 on Ubuntu Linux 15.04 (if any of that matters). Please have a

[Matplotlib-users] Does matplotlib 3D support non-linear scaling?

2015-01-29 Thread John Ladasky
The following minimal code example illustrates a problem I'm having. import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D # succeeds fig = plt.figure() ax = fig.add_subplot(111, projection='3d') plt.show() # succeeds fig = plt.figure() ax = fig.add_

Re: [Matplotlib-users] Build error; Matplotlib 1.4.0 on Ubuntu 12.04, Python 3.2

2014-08-31 Thread John Ladasky
On 08/31/2014 09:48 PM, John Ladasky wrote: Hi folks, I am trying to install Matplotlib 1.4.0 on an older laptop, running Ubuntu 12.04. I am committed to Python 3. In the standard Ubuntu repositories, python3-matplotlib (of any version) is unavailable until Ubuntu 13.04. [snip] OK

[Matplotlib-users] Build error; Matplotlib 1.4.0 on Ubuntu 12.04, Python 3.2

2014-08-31 Thread John Ladasky
Hi folks, I am trying to install Matplotlib 1.4.0 on an older laptop, running Ubuntu 12.04. I am committed to Python 3. In the standard Ubuntu repositories, python3-matplotlib (of any version) is unavailable until Ubuntu 13.04. My first instinct would be to upgrade to a more current Ubuntu

Re: [Matplotlib-users] Trying to migrate to Python 3.2, Matplotlib 1.2.1

2013-04-20 Thread John Ladasky
On 04/19/2013 03:26 AM, Mark Lawrence wrote: > On 19/04/2013 04:03, John Ladasky wrote: > >> Reading more, I realize that the way I was getting GUI output previously >> (with Python 2.7 and Matplotlib 1.1) was through wxPython. >> Unfortunately, it appears that wxPython

Re: [Matplotlib-users] Trying to migrate to Python 3.2, Matplotlib 1.2.1

2013-04-18 Thread John Ladasky
Thanks to both Francesco Montesano and Benjamin Root. I have done some reading. And I have made some progress, though I am not quite where I want to be yet. So the problem appears to be that the only backend for which I had suitable Python 3 libraries was agg. It only requires libpng, which

[Matplotlib-users] Trying to migrate to Python 3.2, Matplotlib 1.2.1

2013-04-18 Thread John Ladasky
Hello everyone, After not using Matplotlib for over a year, I'm returning to it. Meanwhile, I have upgraded from Python 2.7 to Python 3.2, and I want to do all of my software development in Python 3 from now on. My OS is Ubuntu 12.04.1. Python 2.7 is still the default Python for Ubuntu, and m

Re: [Matplotlib-users] Matplotlib 1.1.0 animation vs. contour plots

2011-11-13 Thread John Ladasky
On Sun, 2011-11-13 at 13:26 -0500, Daniel Hyams wrote: > Oops; my sentence should have read "is *not* derived from an artist". Yes, I was wondering about that. I was actually looking though the artist.py and contour.py source code when your message came in. On Sunday, November 13, 2011, Daniel

[Matplotlib-users] Matplotlib 1.1.0 animation vs. contour plots

2011-11-13 Thread John Ladasky
In my last post I said that upgrading Numpy to 1.6.1 restored function to Matplotlib 1.1.0. Well, I spoke a bit too soon. Static contour plots appear to work fine, but they don't play nicely with the new animation methods. This animation example runs without errors. http://matplotlib.sourceforg

Re: [Matplotlib-users] Upgraded to 1.1.0, numpy upgrade fixed problems

2011-11-13 Thread John Ladasky
Just to follow up: I can now report that removing numpy 1.3.0 and installing 1.6.1 corrected the problems with image and contour plots in my configuration. Thanks to everyone for their input. -- RSA(R) Conference 2012

Re: [Matplotlib-users] Upgraded to 1.1.0, now only line graphs work!

2011-11-12 Thread John Ladasky
On Sat, 2011-11-12 at 20:08 -0600, Warren Weckesser wrote: > By any chance do you have a file called 'numpy.py' in the directory > where you ran this? If so, rename that file and try again. Hi, Warren, No, there is no file named "numpy.py" in the directory with my test programs, or anywhere o

[Matplotlib-users] Upgraded to 1.1.0, now only line graphs work!

2011-11-12 Thread John Ladasky
Two days ago I posted some questions about upgrading, and was pointed to the right resources by some readers who replied to me privately (thanks!). I am running Python 2.6 on an Ubuntu Linux 10.10 platform. The upgrade appeared to build successfully, but I still have problems. Line graphs appear

[Matplotlib-users] Upgrade from 1.0.1 to 1.1.0, not quite working

2011-11-10 Thread John Ladasky
Hello everyone, I've been struggling to get consistent animation results from Matplotlib 1.0.1. I am not entirely sure why I can get some programs to work, and others not. The back-and-forth between the pyplot/pylab state-machine approach and a more explicit object-oriented model gets me dizzy s

Re: [Matplotlib-users] color problems in scatter plot

2011-10-04 Thread John Ladasky
On Mon, 2011-10-03 at 12:49 -0700, Michael Castleton wrote: > Hello, > I am using Matplotlib 1.0.0 in Python 2.6. > I am trying to plot time series data of unique IDs and color the points > based on location. Each data point has a unique ID value, a date value, and > a location value. > The unique

Re: [Matplotlib-users] Animated matplotlib in wxPython, sizing / redrawing quirk

2011-10-03 Thread John Ladasky
Following up to my own post: First, Sourceforge's listserv did not like the link to my animation. Let my try again, with a shortened link: http://flic.kr/p/an4oyo Second: > The indirect nature of this redrawing-by-sizing approach > sent me on a long and pointless hunt for bugs in my own code.

[Matplotlib-users] Animated matplotlib in wxPython, sizing / redrawing quirk

2011-10-03 Thread John Ladasky
Hi, folks, I will be posting this question to both matplotlib-users and wxpython-users. Apologies to those of you who have to endure my ramblings two times in a row! Using this example by John Bender, http://www.scipy.org/Matplotlib_figure_in_a_wx_panel I recently constructed a working, animat

Re: [Matplotlib-users] Drawing on a figure, not a subplot

2011-09-17 Thread John Ladasky
On Sat, 2011-09-17 at 19:19 -0500, John Hunter wrote: > The artist tutorial covers drawing directly to a figure > > http://matplotlib.sourceforge.net/users/artists.html#figure-container > > I believe you could adapt the patches.FancyArrow to the same approach. Thanks, John! I got JJ's approach

Re: [Matplotlib-users] Drawing on a figure, not a subplot

2011-09-17 Thread John Ladasky
like mine, but it looks like it might get the job done. > On Sat, Sep 17, 2011 at 6:10 AM, John Ladasky > wrote: > > But that isn't my goal here. I want to add lines to the FIGURE, outside > > of any Axes. Does anyone know how to accomplish this? Thanks! > >

[Matplotlib-users] Drawing on a figure, not a subplot

2011-09-16 Thread John Ladasky
Hello everyone, I want to use matplotlib to create a figure like the one seen in panel E of this linked image: http://www.iovs.org/content/49/12/5425/F1.large.jpg There are eight 2-D plots shown. All of them display the same two variables, CD4 on the X-axis and CD3 on the Y-axis. Rather than l