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

2016-06-22 Thread John Ladasky
er to work with MPL itself, as I don't always know when MPL will judge that a data offset value is needed. Thanks for your help! -- *John J. Ladasky Jr., Ph.D.* *Research Scientist* *International Technological University* *2711 N. First St, San Jose, CA

Re: [Matplotlib-users] Matplotlib differences MacOSXAgg and others

2015-07-15 Thread John Coppens
On Wed, 15 Jul 2015 07:19:53 -1000 Eric Firing efir...@hawaii.edu wrote: John, if you haven't already done so, please escalate this to a github issue. Will do... Cheers, John -- Don't Limit Your Business. Reach

[Matplotlib-users] Matplotlib 1.4.3 Agg problem

2015-07-15 Thread John Coppens
in this project. TkAgg also works. John -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your

[Matplotlib-users] Matplotlib differences MacOSXAgg and others

2015-07-15 Thread John Coppens
Mint, but not on his MacOSX (on which the _circle symbols_ are also dotted). It does work if he defines TkAgg or GtkAgg (even though he does not have Gtk installed on his Mac) Any suggestions to solve this? Is there a problem in the MacOSXAgg backend? John

[Matplotlib-users] Color Bar Limits

2015-04-02 Thread John Leeman
and shifted (a very weird behavior). Any ideas? Thank you, John Leeman import numpy as np import matplotlib.pyplot as plt x = np.arange(100) y = np.random.rand(100) z = 4 * np.random.rand(100) color_map = plt.get_cmap('rainbow_r') fig = plt.figure(figsize=(12,9)) ax1 = plt.subplot(111) sc

Re: [Matplotlib-users] Color Bar Limits

2015-04-02 Thread John Leeman
Jody and Ben, That does the business! I had hunted for awhile, but didn’t find that solution. Thank you for your help! Cheers, John Leeman On Apr 2, 2015, at 1:02 PM, Benjamin Root ben.r...@ou.edu wrote: ::Looks again:: Ok, I see what you did here: cmap = plt.get_cmap('rainbow_r

Re: [Matplotlib-users] backend_qt4agg

2015-02-12 Thread john polo
Ryan, Thanks again. I have the permissions, I'll reinstall. John On 2/12/2015 11:43 AM, Ryan Nelson wrote: John, It's been a little while since I installed QGIS on my machine, but I wonder if you missed a selection somewhere in the installation process. Can you reinstall QGIS? (i.e. do you

[Matplotlib-users] backend_qt4agg

2015-02-12 Thread john polo
plugin I want. John Polo -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software

Re: [Matplotlib-users] backend_qt4agg

2015-02-12 Thread john polo
: No module named matplotlib.pyplot I'm not sure what the first command is to confirm whether a module is installed or not, but it looks like I may need that. Thanks, Ben and Ryan. John On 2/12/2015 10:09 AM, Ryan Nelson wrote: John, As Ben said, the QGIS Windows installer comes with its own Python

[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 =

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

2014-08-31 Thread John Ladasky
= package.check() File /home/john/Desktop/matplotlib-1.4.0/setupext.py, line 940, in check if 'No such file or directory\ngrep:' in version: TypeError: argument of type 'NoneType' is not iterable The required dependencies and extensions section appears to be incomplete. I am expecting

Re: [Matplotlib-users] testing issue involving matplotlib

2014-06-10 Thread John Evans
in the first place. On Mon, Apr 14, 2014 at 2:54 PM, John Evans john.g.evans...@gmail.com wrote: Helllo, I'm seeing a strange issue when running unittests on python3.3 and python3.4 that somehow involves matplotlib. My code has a somewhat complicated setup, but I think I've boiled the issue

[Matplotlib-users] testing issue involving matplotlib

2014-04-14 Thread John Evans
20 laptop with python 3.3 and also matplotlib 1.3.1. -- John Evans -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written

[Matplotlib-users] Navigation Slowness in Matplotlib with Subplots

2013-11-26 Thread John Gu
the following: for ax in f.axes[1:]: ax.axison=False Now, when you drag the line around in the first subplot, there's a huge difference. Basically, it seems like that matplotlib is attempting to redraw a lot of unnecessary things on the figure. Is there an easy fix to this? Thanks, John

[Matplotlib-users] Setting default labelpad

2013-10-28 Thread Peter St. John
Hi Matplotlib-users, I found it was useful to be able to change the default 'Axis.labelpad' parameter, since this value didn't scale when changing the default figure size (in my opinion its easier to prepare figures for publication assuming they'll need to fit in a 1-column figure). I don't

[Matplotlib-users] Importing pyplot blocks input thread

2013-08-06 Thread John McFarland
I am trying to write some code that uses an input thread to check for user input while another thread is running some calculations (see example below). What I have noticed is that just including an import of pyplot (regardless of whether it is used by the code or not) causes the call to raw_input

Re: [Matplotlib-users] Importing pyplot blocks input thread

2013-08-06 Thread John McFarland
an interactive backend for this, but it could be nice to get it to work. I just tried switching raw_input to sys.stdin.readline, and that seems to work even with the interactive backend. John -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Importing-pyplot-blocks

Re: [Matplotlib-users] Plotting curves filled with nonuniform color patch

2013-05-27 Thread John
http://matplotlib.1069221.n5.nabble.com/Plotting-curves-filled-with-nonuniform-color-patch-td25773.html Raising an old thread here, but does anyone know how to make this work with 'fill_between'? -- Try New Relic Now

Re: [Matplotlib-users] Possible bug with saving eps figure

2013-04-26 Thread john collins
Filipe Pires Alvarenga Fernandes ocefpaf@... writes: Yep, that's what I was expecting. It should fail with both show() and the save as 'png' format. However, it only fails when trying to save an 'eps' -Filipe On Mon, May 7, 2012 at 1:12 PM, Benjamin Root ben.root at ou.edu wrote:

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's star is fading, and a Python 3

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

Re: [Matplotlib-users] Affine2D on scatter

2013-04-05 Thread John Gleeson
Phil and Derek, I just created this as the following issue https://github.com/matplotlib/matplotlib/issues/1886 I was wrong about TkAgg having a problem. The default backend for Derek and me is MacOSX. Both TkAgg and QT4Agg display correctly for me. John

Re: [Matplotlib-users] Affine2D on scatter

2013-04-04 Thread John Gleeson
1.2.0 with the Qt4 backend option. When I prepend the lines from matplotlib import use use(QT4Agg) to use Qt4, I get the expected (correct) display output. Apparently this is a bug somewhere in the chain TkAgg/Tkinter/Tk. John

[Matplotlib-users] Limit data for plot Basemap

2012-08-24 Thread John Bluee
Hi all I have to plot seismic data on a worldmap and use the Basemap framework to do it. My dataset contains important data in the range of -1e-8 to -1e-14 and 1e-14 to 1e-9. Can I limit the plot to only display data in this range? thanks and greets

Re: [Matplotlib-users] Limit data for plot Basemap

2012-08-24 Thread John Bluee
I have lat and lon as coordinates and to each point a value. So far I use contourf to plot. Am 24.08.2012 um 18:14 schrieb Benjamin Root ben.r...@ou.edu: On Fri, Aug 24, 2012 at 11:57 AM, John Bluee b7u...@gmail.com wrote: Hi all I have to plot seismic data on a worldmap and use

[Matplotlib-users] Problems with rasterizing multiple elements

2012-08-21 Thread Peter St. John
Hi Everyone, I'm having problems when rasterizing many lines in a plot using the rasterized=True keyword using the pdf output. Some version info: matplotlib version 1.1.1rc ubuntu 12.04 python 2.7.3 Here's a basic example that demonstrates my problem: # Import matplotlib to create a pdf

[Matplotlib-users] ANN: Michael Droettboom, matplotlib lead developer

2012-08-02 Thread John Hunter
It is a great honor for me to announce that Michael Droettboom has agreed to take on the role of lead developer of matplotlib. Since Michael joined the project in 2007, he has been responsible for much of the code that brought matplotlib from being an excellent tool to a world class one. No one

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-16 Thread John Hunter
On Tue, Jul 10, 2012 at 11:58 AM, Tony Yu tsy...@gmail.com wrote: Announcement: mpltools 0.1 == mpltools is a package of tools for matplotlib. For the most part, these tools are only loosely-connected in functionality, but there are two that may prove particularly

[Matplotlib-users] path effects question

2012-07-14 Thread John Hunter
I do not understand why in the following example, if I set patch_alpha=1.0, I do not see the shadow effect. I would expect to see it for the the rightmost four bars, where the original bars do not entirely occlude the shadow, so even if alpha is 1.0, there are parts of the shadow that are not

Re: [Matplotlib-users] path effects question

2012-07-14 Thread John Hunter
On Sat, Jul 14, 2012 at 11:48 AM, John Hunter jdh2...@gmail.com wrote: I do not understand why in the following example, if I set patch_alpha=1.0, I do not see the shadow effect. I would expect to see it for the the rightmost four bars, where the original bars do not entirely occlude

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-13 Thread John Hunter
On Jul 13, 2012, at 7:57 AM, Benjamin Root ben.r...@ou.edu wrote: There was talk of this living in mlab or cbook. Is there a preference? Neither. cbook is really meant more for the devs. Half of it is converter functions that are probably completely unneeded now, while the other

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-11 Thread John Hunter
On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall damon.mcdoug...@gmail.com wrote: Well, as Ben said, that error fill plot is neato! It doesn't look too complicated, either. I'd be more than happy to port it over later today when I get bored of typing up my thesis. It'll probably only take me

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-10 Thread John Hunter
On Tue, Jul 10, 2012 at 12:49 PM, Damon McDougall damon.mcdoug...@gmail.com wrote: Would there be any interest in porting some of that functionality into the main mpl codebase? Like Ben said, that error function is nifty... :) I also think the styles would be widely appreciated, and we

[Matplotlib-users] Fwd: Question on matplotlib install

2012-06-19 Thread John Hunter
Forwarding this on behalf of Amit. -- Forwarded message -- From: amitc0...@hotmail.com Date: Tue, Jun 19, 2012 at 9:07 AM Subject: Question on matplotlib install To: jdh2...@gmail.com Hi John - I found your email address on the setup splashscreen for matplotlib for windows

Re: [Matplotlib-users] matplotlib requires write perms and space in $HOME

2012-06-18 Thread John Hunter
On Jun 18, 2012, at 6:19 AM, Martin Mokrejs mmokr...@fold.natur.cuni.cz wrote: Hi, I am running some script in /mnt/blah and while my $HOME disk on a different device filled up because of some other reason. But my script ran in /mnt/blah died as well while there is plenty of space.

Re: [Matplotlib-users] matplotlib requires write perms and space in $HOME

2012-06-18 Thread John Hunter
On Mon, Jun 18, 2012 at 7:29 AM, Martin Mokrejs mmokr...@fold.natur.cuni.cz wrote: Hmm. Could it be by default the current working directory instead? Or, try/else added to the code which would try to write into cwd if $HOME (aka $MPLCONFIGDIR) returns an error? The stuff we store there is

Re: [Matplotlib-users] matplotlib requires write perms and space in $HOME

2012-06-18 Thread John Hunter
On Mon, Jun 18, 2012 at 7:50 AM, Benjamin Root ben.r...@ou.edu wrote: However, should it be a full-out error?  Is it possible to have mpl run without a font cache? I'm sure we could, but from an implementation perspective it would probably be easier to spoof it with a virtual filesystem and

Re: [Matplotlib-users] suppress plotting window

2012-06-12 Thread John Hunter
On Fri, Jun 8, 2012 at 3:36 AM, Maximilian Fabricius mfabric...@gmail.com wrote: it seems that whenever I plot something, a window opens. from matplotlib import pylab import numpy pylab.plot(numpy.random.normal(size=100)) Now, I have code that is supposed to produce diagnostic plots as

[Matplotlib-users] netcdf4-python

2012-05-04 Thread John
$ Does anyone have a suggestion where to look for the root cause of this? From the searches I've done it seems it is likely related to the dynamic linking of the libraries at build time. Thank you, john -- Live Security Virtual

Re: [Matplotlib-users] RuntimeError: Could not open facefile

2012-03-23 Thread John Hunter
On Fri, Mar 23, 2012 at 3:35 PM, Andrew Smart andrew.johnsm...@gmail.comwrote: Hi, I'm running into this RuntimeError: Could not open facefile c:\Python32\lib\site-packages\matplotlib\mpl-data\fonts\ttf\Vera.ttf; Cannot_Open_Resource when I'm trying to save out a series of *.png files in a

Re: [Matplotlib-users] Too Many Requests error - matplotlib gallery

2012-03-19 Thread John Hunter
On Mon, Mar 19, 2012 at 11:46 AM, gu...@thinkorswim.com wrote: Hi Guys, ** ** Accessing the Matplotlib gallery is killing access to the sourceforce matplotlib site giving the “Too many requests” error. Anytime you access the gallery, and attempt to view source of any thumbnail, the

Re: [Matplotlib-users] Too Many Requests error - matplotlib gallery

2012-03-19 Thread John Hunter
On Mon, Mar 19, 2012 at 12:46 PM, John Hunter jdh2...@gmail.com wrote: Thanks, this has been going on for several days now and I just filed a ticket with sourceforge. https://sourceforge.net/apps/trac/sourceforge/ticket/24897 In the meantime, a slightly out of date version

Re: [Matplotlib-users] OSX: need testing

2012-03-17 Thread John Hunter
On Mar 17, 2012, at 9:49 AM, Zachary Pincus zachary.pin...@yale.edu wrote: If you can test and confirm that you can build and use mpl normally with this patch, please respond with a python version and OSX version that you tested with. Some of the fixes were python3 specific, so if you

Re: [Matplotlib-users] loss of 3d plot interactivity after cla()?

2012-03-17 Thread John Hunter
On Fri, Mar 16, 2012 at 4:34 PM, Zachary Pincus zachary.pin...@yale.eduwrote: Hi all, I'm (finally) getting started with matplotlib, and am enjoying the lovely plot quality. However, as Finally getting started? You were one of our first contributors!

[Matplotlib-users] What version has backend_tkagg?

2012-03-16 Thread John W. Shipman
hidden someplace? Best regards, John Shipman (j...@nmt.edu), Applications Specialist, NM Tech Computer Center, Speare 146, Socorro, NM 87801, (575) 835-5735, http://www.nmt.edu/~john ``Let's go outside and commiserate with nature.'' --Dave Farber

[Matplotlib-users] Review of Tosi's Matplotlib for Python developers

2012-03-16 Thread John W. Shipman
, and none of them reduced the book's usefulness. Standard disclaimer: I have no financial interest in this book; I'm just a happy reader. Best regards, John Shipman (j...@nmt.edu), Applications Specialist, NM Tech Computer Center, Speare 146, Socorro, NM 87801, (575) 835-5735, http://www.nmt.edu/~john

Re: [Matplotlib-users] access to my underlying data from within picker or pick_handler

2012-03-13 Thread John Hunter
On Mon, Mar 12, 2012 at 11:05 PM, gsal salger...@gmail.com wrote: I am trying to change the underlying data for my plot via a pick event, except that the matplotlib examples for picking show a couple of functions with predefined signatures and I can't seem to figure out how to modify my data

Re: [Matplotlib-users] matplotlib picking mouseevent.key=None

2012-03-13 Thread John Hunter
On Tue, Mar 13, 2012 at 10:05 AM, gsal salger...@gmail.com wrote: Say, on Windows, the mouseevent.key correctly comes in as control, shift, or a letter...on Linux, it does notI am always getting None. is this a known problem with known solution? We need more information, what is your

Re: [Matplotlib-users] where is line after remove?

2012-03-13 Thread John Hunter
On Tue, Mar 13, 2012 at 1:20 PM, Federico Ariza ariza.feder...@gmail.comwrote: Hi That is exactly what I am doing, but I thought it was kept somewhere. I like the idea of upstream modification of relim. It would be trivial to add a kwarg to relim: include_invisible=True which defaults to

Re: [Matplotlib-users] resize a plot to make room

2012-03-12 Thread John Hunter
On Mon, Mar 12, 2012 at 8:04 AM, Neal Becker ndbeck...@gmail.com wrote: I have a figure with a semilogy plot. I need to make more room on the bottom to add a bunch of figtext, which is 4 lines of text. With the defaults, the text overprints the x-axis. What is a suggested way to fix this?

Re: [Matplotlib-users] Has nxutils been removed from mpl?

2012-03-08 Thread John Hunter
On Thu, Mar 8, 2012 at 10:32 AM, Benjamin Root ben.r...@ou.edu wrote: +1 as well. I just took another look at the Path object and I see no such function. The lack of this function is a problem for me as well in my existing apps. In order to deprecate nxutils, this functionality needs to

Re: [Matplotlib-users] Has nxutils been removed from mpl?

2012-03-07 Thread John Hunter
On Wed, Mar 7, 2012 at 12:31 PM, Michael Droettboom md...@stsci.edu wrote: I agree that the deprecation process should have been followed better. However, I'm not sure what you mean by them being faster than their Pyhton counterparts. Both functions in nxutils are replaced by functions in

Re: [Matplotlib-users] Matplotlib detect wrong locations for libpng and libstdc++

2012-03-05 Thread John Hunter
On Mon, Mar 5, 2012 at 10:11 AM, Matthieu Dorier matthieu.dor...@irisa.frwrote: Hello, I'm trying to install Matplotlib on a platform on which default libpng.so and libstdc++.so are installed in /usr/lib64, but does not actually correspond to the libraries I want to use, which have been

Re: [Matplotlib-users] Move the content of a figure into a subplot of this figure.

2012-03-02 Thread John Hunter
On Fri, Mar 2, 2012 at 4:57 AM, Guillaume Gay guilla...@mitotic-machine.org wrote: Hi list, I am trying to implement some GUI tools in matplotlib - more precisely a line profile tool and a contrast setter which I hope will be integrated to the skimage kit [see

[Matplotlib-users] pydata hack Friday night in Santa Clara

2012-03-01 Thread John Hunter
I'll be attending the pydata hack night in Santa Clara tomorrow night. We'll be hacking on matplotlib, ipython, pandas, numpy and more. If you are interested in stopping by, there is space for 200, many more than the number of attendees at pydata. The event info is here:

Re: [Matplotlib-users] Set width before saving

2012-02-29 Thread John Hunter
On Feb 28, 2012, at 4:03 PM, Benjamin Root ben.r...@ou.edu wrote: The size of the PNG will be based on the size of your figure object. When you create your figure, you can pass a figsize kwarg which takes a tuple of width, height in inches (defaults to 8 x 6, I think). fig =

Re: [Matplotlib-users] get parent or child from twinx() or twiny()

2012-02-28 Thread John Hunter
On Tue, Feb 28, 2012 at 12:45 PM, Federico Ariza ariza.feder...@gmail.comwrote: Hello everybody This is my first post to the list. Welcome. To the point. I want to access the all the axes located where a mouse event occurred. My first try is with button_release_event The event will

Re: [Matplotlib-users] image rescale on intervall

2012-02-27 Thread John Hunter
On Feb 27, 2012, at 6:16 AM, jonasr jonas.rueb...@web.de wrote: Hello, i am actually trying to plot a vector field over a scalar field, i want to show a vector field on the intervall x=[0,1] y=[0,1] this works fine so far, actually i have the problem that if i plot the scalarfield

Re: [Matplotlib-users] Enjoy all them spammers

2012-02-19 Thread John Hunter
On Sun, Feb 19, 2012 at 10:15 AM, Jerzy Karczmarczuk jerzy.karczmarc...@unicaen.fr wrote: I believe that the list owners will have to strenghten some tools to fight against all those shameless spammers. I wade through about 20 gated messages a day in the mpl administrative interface. 90%

Re: [Matplotlib-users] add a single x tick label

2012-02-08 Thread John Hunter
On Wed, Feb 8, 2012 at 8:42 AM, David Craig dcdavem...@gmail.com wrote: Hi, I have a plot of a time series and I would like to add a single extra tick mark and label to the plot in a different color to the already existing tick marks. Is this possible?? Thanks, It's fairly easy to do if you

Re: [Matplotlib-users] Strange plot_date problem

2012-02-08 Thread John Hunter
On Wed, Feb 8, 2012 at 10:06 AM, Ted To rainexpec...@theo.to wrote: If it hasn't been fixed, is there a workaround? On 02/08/2012 10:42 AM, Ted To wrote: I believe I have traced it to some axhline and axis commands and this is apparently an old problem. Does it work with version 1.1.0? I

Re: [Matplotlib-users] Strange plot_date problem

2012-02-08 Thread John Hunter
On Wed, Feb 8, 2012 at 10:24 AM, Ted To rainexpec...@theo.to wrote: On 02/08/2012 11:17 AM, John Hunter wrote: On Wed, Feb 8, 2012 at 10:06 AM, Ted To rainexpec...@theo.to mailto:rainexpec...@theo.to wrote: If it hasn't been fixed, is there a workaround? On 02/08/2012 10

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread John Hunter
On Wed, Feb 8, 2012 at 11:06 AM, Chris plut...@gmail.com wrote: I was trying to test the patch mike put in to fix the single pixel plotting issue, but just realized that this was a Mac version. Can I use it on a linux box? How? These instructions are for an ubuntu based system -- if you are

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread John Hunter
On Wed, Feb 8, 2012 at 11:39 AM, Chris plut...@gmail.com wrote: Thanks John. Since I already have a running copy of mpl, I skipped to the git clone step, but get this error: Permission denied (publickey). fatal: The remote end hung up unexpectedly I'm a complete noob on git, so please

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread John Hunter
On Wed, Feb 8, 2012 at 11:58 AM, Chris plut...@gmail.com wrote: This time the error is: fatal: Not a git repository (or any of the parent directories): .git I guess that I have not be able to establish a local git tree since the command git clone g...@github.com:matplotlib/matplotlib.git

Re: [Matplotlib-users] use the github version on a linux box

2012-02-08 Thread John Hunter
On Wed, Feb 8, 2012 at 12:06 PM, Tony Yu tsy...@gmail.com wrote: git clone g...@github.com:matplotlib/matplotlib.git matplotlib.git did not go through. - Chris I don't think you want the .git at the very end of the clone command. That just tells get where (i.e. new directory) to put the

Re: [Matplotlib-users] plot_date again

2012-02-08 Thread John Hunter
On Wed, Feb 8, 2012 at 1:12 PM, Ted To rainexpec...@theo.to wrote: Is it possible to force the date ticks to be the same in two different plots? For example, the attached figures cover the same time spans but in one, the data are weekly and the other, monthly. While there is nothing really

Re: [Matplotlib-users] How matplotlib got me a job

2012-02-06 Thread John Hunter
developers put their energies into them. The amount of productivity being poured into not only the core tools but also pandas, scikits-learn, scikits-image, pystatsmodels and others is awesome, and is definitely taking the tool chain to the next level. Therefore, I would like to thank John Hunter

Re: [Matplotlib-users] matplotlib and matlab figures?

2012-01-24 Thread John Hunter
On Jan 24, 2012, at 6:06 AM, Piter_ x.pi...@gmail.com wrote: Hi all. Hi all. Can I open matlab figure in matplotlib without conversion in any other format? I am 90% sure the answer for my question if not. But I give a 10% lazy hope that it is possible. No, and there are no plans to support

Re: [Matplotlib-users] Non-interactive plotting to window?

2011-12-16 Thread John Thorstensen
() print stop or go? c = raw_input() x = x + 0.5 ** John Thorstensen wrote: I have a sizeable number of python data-inspection scripts that work as follows: - read some data, or do something with it - plot the data - query the user on the command line and get a response - do

[Matplotlib-users] Non-interactive plotting to window?

2011-12-15 Thread John Thorstensen
I have a sizeable number of python data-inspection scripts that work as follows: - read some data, or do something with it - plot the data - query the user on the command line and get a response - do what the user commands. These use the venerable PGPLOT package for the graphics, but this has

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

[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.

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] Upgraded to 1.1.0, now only line graphs work!

2011-11-12 Thread John Ladasky
with the flag --verbose-helpful: 17:26:42 - python simple_plot.py --verbose-helpful $HOME=/home/john CONFIGDIR=/home/john/.matplotlib matplotlib data path /usr/local/lib/python2.6/dist-packages/matplotlib/mpl-data loaded rc file /usr/local/lib/python2.6/dist-packages/matplotlib/mpl-data/matplotlibrc

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 on

[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

Re: [Matplotlib-users] PyPI has version 1.0.1

2011-11-03 Thread John Hunter
On Nov 2, 2011, at 10:47 PM, Benjamin Root ben.r...@ou.edu wrote: On Wednesday, November 2, 2011, John Hunter jdh2...@gmail.com wrote: On Wed, Nov 2, 2011 at 10:02 PM, Benjamin Root ben.r...@ou.edu wrote: I just noticed that PyPI lists matplotlib 1.0.1 as the latest version, so pip

[Matplotlib-users] v1.1.0 crashes upon exit

2011-11-02 Thread John Jameson
self.toolbar.destroy() Any thoughts are appreciated! thanks again, john -- RSA#174; Conference 2012 Save $700 by Nov 18 Register now#33; http://p.sf.net/sfu/rsa-sfdev2dev1___ Matplotlib

Re: [Matplotlib-users] Unit testing code that generate matplotlib plots

2011-11-02 Thread John Hunter
On Wed, Nov 2, 2011 at 4:16 PM, Wes McKinney wesmck...@gmail.com wrote: Hi guys, Is there a common practice for unit testing code that creates matplotlib plots? I'm mainly just interested in code coverage versus correctness (making sure the code *works*) for now. I guess one way would be to

Re: [Matplotlib-users] PyPI has version 1.0.1

2011-11-02 Thread John Hunter
On Wed, Nov 2, 2011 at 10:02 PM, Benjamin Root ben.r...@ou.edu wrote: I just noticed that PyPI lists matplotlib 1.0.1 as the latest version, so pip and easy_install install version 1.0.1 instead of version 1.1.0.  Can somebody update the listing at the PyPI site? Thanks, Scott And if

[Matplotlib-users] image blitted onto an axes is not showing up

2011-11-01 Thread John Jameson
the ax1 animation very jittery. Can someone tell me the correct way to do this? I'm still a tenderfoot in Matplotlib ;-( thanks! John class Sticks_animator(): x_offset = 0.0 def __init__(self, n_sticks_tot, n_pixels_horizontal=0, n_pixels_vertical=0

Re: [Matplotlib-users] Updating/drawing all axes.

2011-10-30 Thread John Hunter
.draw() On Sun, Oct 30, 2011 at 10:51 AM, Daniel Welling dantwell...@gmail.com wrote: Greetings, MatPlotLibbers. Since 1.1, pyplot.draw() in interactive mode only updates the current axis.  If I want to update many axes, I need to use sca() and draw() for each one.  Is there a way to update

Re: [Matplotlib-users] Legend and proxy artists

2011-10-28 Thread John Hunter
On Thu, Oct 27, 2011 at 8:12 AM, Adam Mercer ramer...@gmail.com wrote: Hi I have recently updated to Matplotlib-1.1.0 and now one of my scripts displays the following warning: UserWarning: Legend does not support [[matplotlib.lines.Line2D object at 0x1026296d0]] Use proxy artist instead.

[Matplotlib-users] extreme navigation slowness for subplots

2011-10-20 Thread John Gu
, it is extremely slow. Not sure if this is a configuration error on my side? John -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take

Re: [Matplotlib-users] extreme navigation slowness for subplots

2011-10-20 Thread John Gu
PM, John Gu wrote: Hello, I'm using version 1.0.1 of matplotlib on a linux machine. uname -a returns the following: Linux jgulinux 2.6.35.14-95.fc14.x86_64 #1 SMP Tue Aug 16 21:01:58 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux. [jgu@jgulinux ~/.matplotlib]$ cat matplotlibrc backend

[Matplotlib-users] Matplotlib 1.1.0 Error in triangulation.py

2011-10-17 Thread Floyd John
Hello, I have read your instruction for bug reporting but this is fairly simple. There is a call to self.get_cpp_triangulation() which exists but there is also a call to self._get_cpp_triangulation at line 174 to obtain the neighbours. Easy to fix. Regards John

Re: [Matplotlib-users] Matplotlib 1.1.0 Error in triangulation.py

2011-10-17 Thread John Hunter
On Mon, Oct 17, 2011 at 6:58 PM, Floyd John john.fl...@environment.nsw.gov.au wrote: Hello, I have read your instruction for bug reporting but this is fairly simple. There is a call to self.get_cpp_triangulation() which exists but there is also a call to self._get_cpp_triangulation at line

Re: [Matplotlib-users] matplotlib.rcParams(update) and parallel python

2011-10-17 Thread John Hunter
On Mon, Oct 17, 2011 at 2:57 PM, tinux hoffmann.mar...@gmail.com wrote: I have around 100 python files, that each create one figure using matplotlib. Since I want to use all CPU cores, I basically did for filename in files: execfile(filename) using a python script. However, this does not

Re: [Matplotlib-users] instance check, finding figure elements

2011-10-15 Thread John Hunter
On Sat, Oct 15, 2011 at 10:39 AM, josef.p...@gmail.com wrote: I'm building plots in stages using several different functions. Since the figure contains all information, I don't hand handles to individual elements around. What's the best way to check for a specific plot element? using

Re: [Matplotlib-users] key_press_event weirdness

2011-10-14 Thread John Hunter
On Fri, Oct 14, 2011 at 7:18 AM, Jorge Scandaliaris jorgesmbox...@yahoo.es wrote: I run Arch Linux x86_64 and I am using the GTKAgg backend. I tried both with IPython and python directly (2.7.2). I am not seeing this on Linux x86_64 with backend GTKAgg version 2.22.0 on python 2.7. Eg, if I

Re: [Matplotlib-users] key_press_event weirdness

2011-10-14 Thread John Hunter
On Fri, Oct 14, 2011 at 8:52 AM, John Hunter jdh2...@gmail.com wrote: On Fri, Oct 14, 2011 at 8:46 AM, Jorge Scandaliaris jorgesmbox...@yahoo.es wrote: You're right, John, it works here too with the gtkagg backend. I have just noticed that I had different backend options set in matplotlib.conf

Re: [Matplotlib-users] Memory leak involving matplotlib in webapplication

2011-10-13 Thread John Hunter
On Thu, Oct 13, 2011 at 12:42 AM, Viktor Forsman viktor.fors...@gmail.com wrote: Hi, I have problems with a memory leak in a webapplication involving matplotlib. Basically, I have a function which usies the OO way of generating the graph, printing it to a StringIO object and returning that.

Re: [Matplotlib-users] X Error since upgrade to 1.1.0

2011-10-13 Thread John Hunter
On Thu, Oct 13, 2011 at 8:03 AM, Neal Becker ndbeck...@gmail.com wrote: Using interactively (via emacs/ipython), on closing a plot window I see:  X Error: BadWindow (invalid Window parameter) 3  Major opcode: 20 (X_GetProperty)  Resource id:  0x5802e1b Could you give us some more

[Matplotlib-users] ANN: matplotlib-1.1.0

2011-10-11 Thread John Hunter
A new release of matplotlib is available for download at https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.0 There are lots of nifty new features like Sankey diagrams, an API for animations and movie making, enhanced 3D support, support for auto-layout of subplots

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 IDs

[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

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.

Re: [Matplotlib-users] Color a line segment as a gradient?

2011-09-30 Thread John Hunter
On Thu, Sep 29, 2011 at 11:56 PM, Uri Laserson laser...@mit.edu wrote: Hi all, Does anyone have a good solution for taking a line segment and coloring it according to some gradient (where the start and end colors are the only two things specified for the line coloring)? This example shows how

[Matplotlib-users] ANN: matplotlib-1.1.0rc1 available for testing

2011-09-27 Thread John Hunter
We have uploaded the first release candidate for matplotlib 1.1.0 for testing. * src and OSX versions for download: https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.0/ * windows binaries are available here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib *

  1   2   3   4   5   6   7   8   9   10   >