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

2016-06-22 Thread John Ladasky
ut I would prefer 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

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

[Matplotlib-users] Matplotlib differences MacOSXAgg and others

2015-07-15 Thread John Coppens
ystem (Linux Slackware/matplotlib 1.3.1 and 1.4.3), on C.C.Yang's Linux 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 suggesti

[Matplotlib-users] Matplotlib 1.4.3 Agg problem

2015-07-15 Thread John Coppens
#x27;) Is this normal? I'm not actually using gtk 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

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 wrote: > > ::Looks again:: > > Ok, I see what you did here: > > cmap = plt.get_cmap

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

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

Re: [Matplotlib-users] backend_qt4agg

2015-02-12 Thread john polo
ror: 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

[Matplotlib-users] backend_qt4agg

2015-02-12 Thread john polo
QGIS 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 sof

[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
line 154, in result = 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 exten

Re: [Matplotlib-users] testing issue involving matplotlib

2014-06-10 Thread John Evans
ouldn't know why that dictionary would change in the first place. > > > > On Mon, Apr 14, 2014 at 2:54 PM, John Evans > wrote: > >> Helllo, I'm seeing a strange issue when running unittests on python3.3 >> and python3.4 that somehow involves matplotlib.

[Matplotlib-users] testing issue involving matplotlib

2014-04-14 Thread John Evans
s 3.3 and 3.4, matplotlib 1.3.1. All seems fine with a Fedora 20 laptop with python 3.3 and also matplotlib 1.3.1. -- John Evans -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases"

[Matplotlib-users] Navigation Slowness in Matplotlib with Subplots

2013-11-26 Thread John Gu
y slow. Now do 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

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

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

2013-08-06 Thread John McFarland
more than one thread. > > Eric Thanks Eric, that did work for me. I don't necessarily need 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. Jo

[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] 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 & We'

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

2013-04-26 Thread john collins
Filipe Pires Alvarenga Fernandes 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 ou.edu> wrote: > > On Mon, May

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] 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
lt MP 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 Tk

Re: [Matplotlib-users] Calculating distance from center of Earth

2013-03-28 Thread John Gleeson
Longitude,Altitude (LLA) to refer to geodetic coordinates. http://www.satsleuth.com/GPS_ECEF_Datum_transformation.htm This can be difficult to interpret if you are doing it for the first time (and even if you have d

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 : > > > On Fri, Aug 24, 2012 at 11:57 AM, John Bluee wrote: > Hi all > > I have to plot seismic data on a worldmap and use the Basem

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

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

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

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 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 useful: > > S

Re: [Matplotlib-users] path effects question

2012-07-14 Thread John Hunter
On Sat, Jul 14, 2012 at 11:48 AM, John Hunter 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 the sha

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

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

2012-07-13 Thread John Hunter
On Jul 13, 2012, at 7:57 AM, Benjamin Root 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 half is > the

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 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 > about 30 minutes. >

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 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 might get more styles con

[Matplotlib-users] Fwd: Question on matplotlib install

2012-06-19 Thread John Hunter
Forwarding this on behalf of Amit. -- Forwarded message -- From: 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. Can you please help me

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 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 files using strin

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 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 meant to be persistent b

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 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. Here is the stacktrace.

Re: [Matplotlib-users] suppress plotting window

2012-06-12 Thread John Hunter
On Fri, Jun 8, 2012 at 3:36 AM, Maximilian Fabricius 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 PDFs. Only Before

[Matplotlib-users] netcdf4-python

2012-05-04 Thread John
x27; failed. Aborted $ 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 ---

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

2012-03-28 Thread John Hunter
On Mon, Mar 19, 2012 at 12:53 PM, wrote: > Awesome John!! Thank you very much for your help on this… > > ** ** > > Guido > > > > *From:* John Hunter [mailto:jdh2...@gmail.com] > *Sent:* Monday, March 19, 2012 12:52 PM > *To:* Espinosa,

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 wrote: > 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 loop. It crashes on thi

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 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 vers

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

2012-03-19 Thread John Hunter
On Mon, Mar 19, 2012 at 11:46 AM, 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 site gives > the

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 wrote: > 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! http://sourceforge.net/mailarchive/message.php?msg_id=5192

Re: [Matplotlib-users] OSX: need testing

2012-03-17 Thread John Hunter
On Mar 17, 2012, at 9:49 AM, Zachary Pincus 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 also can >> test t

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

2012-03-16 Thread John W. Shipman
you off. This is just the right book for people starting out. I found very few typos, 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), Application

[Matplotlib-users] What version has backend_tkagg?

2012-03-16 Thread John W. Shipman
e oldest Python GUI hasn't been supported previously, or is the documentation for Matplotlib embedding hidden someplace? Best regards, John Shipman (j...@nmt.edu), Applications Specialist, NM Tech Computer Center, Speare 146, Socorro, NM 87801, (575) 835-5

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 wrote: > 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 the current behav

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

2012-03-13 Thread John Hunter
On Tue, Mar 13, 2012 at 10:05 AM, gsal 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 backend, wha

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 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 from within th

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 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? (Ideally, m

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 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 > be added to

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

2012-03-08 Thread John Hunter
On Thu, Mar 8, 2012 at 10:21 AM, Dharhas Pothina < dharhas.poth...@twdb.texas.gov> wrote: > > + one on this issue. One of the big advantages of the nxutils points in > poly is that you could pass it a large numpy array of points and get back a > mask. We found this to be significantly faster than

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 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 > _path.cpp, whi

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 wrote: > 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 locally > installed in $

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 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 https://github.com/glyg/**scikits-image/blob/master/* >

[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: http://python-data-hack

Re: [Matplotlib-users] Set width before saving

2012-02-29 Thread John Hunter
On Feb 28, 2012, at 4:03 PM, Benjamin Root 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 = plt.figure(figsize=(

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 wrote: > 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 include inaxes,

Re: [Matplotlib-users] image rescale on intervall

2012-02-27 Thread John Hunter
On Feb 27, 2012, at 6:16 AM, jonasr 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 > via imshow()

Re: [Matplotlib-users] Possible to make linewidth larger in Legend?

2012-02-23 Thread John Hunter
On Thu, Feb 23, 2012 at 4:39 PM, Jonno wrote: > I need to use a small linewidth in my plot but the color is still very > clear. However in the legend the small, thin straight line makes it > difficult to tell the color. Is there a way to make the linewidth larger > just in the legend but not on t

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

Re: [Matplotlib-users] plot_date again

2012-02-08 Thread John Hunter
On Wed, Feb 8, 2012 at 1:12 PM, Ted 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 wrong with diffe

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 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 r

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 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 matplotlib

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 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 g

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 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 on a differen

Re: [Matplotlib-users] Strange plot_date problem

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

Re: [Matplotlib-users] Strange plot_date problem

2012-02-08 Thread John Hunter
On Wed, Feb 8, 2012 at 10:06 AM, Ted 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 have > > 1.0.

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 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 want to set the

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

2012-02-06 Thread John Hunter
o 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 for making matplotlib available > for the community, and a hearty thanks to the rest of the community for

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

2012-01-24 Thread John Hunter
On Jan 24, 2012, at 6:06 AM, Piter_ 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 it. We want

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

2011-12-16 Thread John Thorstensen
x.lines[0] except : pass line, = ax.plot(x,y,'-') plt.draw() 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 so

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

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
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/matplotli

[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] PyPI has version 1.0.1

2011-11-03 Thread John Hunter
On Nov 2, 2011, at 10:47 PM, Benjamin Root wrote: > > > On Wednesday, November 2, 2011, John Hunter wrote: > > On Wed, Nov 2, 2011 at 10:02 PM, Benjamin Root wrote: > >>> I just noticed that PyPI lists matplotlib 1.0.1 as the latest version, so > >>&g

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 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 somebod

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 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 disable the GU

[Matplotlib-users] v1.1.0 crashes upon exit

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

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

2011-11-01 Thread John Jameson
raw() after the ax2 blit it works but it makes 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_h

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 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 all axes? I'm no

Re: [Matplotlib-users] Legend and proxy artists

2011-10-28 Thread John Hunter
On Thu, Oct 27, 2011 at 8:12 AM, Adam Mercer 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 [[ at 0x1026296d0>]] > Use proxy artist instead. > > http://matplotlib.sourceforge.net/users

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

2011-10-20 Thread John Gu
Thanks. Is there a place where these sorts of issues can be submitted for review / fixes? I'm totally willing to take a look at possible solutions if someone points me in the right direction. Thanks. On Thu, Oct 20, 2011 at 10:52 PM, Eric Firing wrote: > On 10/20/2011 03:47 PM, John

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

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 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 produce > the same output

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

[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] instance check, finding figure elements

2011-10-15 Thread John Hunter
On Sat, Oct 15, 2011 at 10:39 AM, 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 > isinstance, or are th

Re: [Matplotlib-users] key_press_event weirdness

2011-10-14 Thread John Hunter
On Fri, Oct 14, 2011 at 8:52 AM, John Hunter wrote: > On Fri, Oct 14, 2011 at 8:46 AM, Jorge Scandaliaris > 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 and >

Re: [Matplotlib-users] key_press_event weirdness

2011-10-14 Thread John Hunter
On Fri, Oct 14, 2011 at 8:46 AM, Jorge Scandaliaris 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 and > matplotlibrc. My initial report refers then to the Qt4Agg backend. OK,

Re: [Matplotlib-users] key_press_event weirdness

2011-10-14 Thread John Hunter
On Fri, Oct 14, 2011 at 7:18 AM, Jorge Scandaliaris 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 run: > python si

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 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 information. What operati

  1   2   3   4   5   6   7   8   9   10   >