[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

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!

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

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

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.

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

Re: [Matplotlib-users] Assign colors to list?

2011-09-26 Thread John Hunter
On Mon, Sep 26, 2011 at 12:05 PM, Katie Boyle katielbo...@gmail.com wrote: Hi All, I was wondering how I take a list of 250 discrete values and match up each value in the list to a color in the gist_rainbow colormap. I want the highest value to be red, and the lowest value to be blue. I then

Re: [Matplotlib-users] Assign colors to list?

2011-09-26 Thread John Hunter
On Mon, Sep 26, 2011 at 12:24 PM, John Hunter jdh2...@gmail.com wrote: On Mon, Sep 26, 2011 at 12:05 PM, Katie Boyle katielbo...@gmail.com wrote: Hi All, I was wondering how I take a list of 250 discrete values and match up each value in the list to a color in the gist_rainbow colormap. I

Re: [Matplotlib-users] xticks() shifted by 1

2011-09-17 Thread John Hunter
On Sat, Sep 17, 2011 at 3:09 PM, Eric Firing efir...@hawaii.edu wrote: On 09/17/2011 09:57 AM, Klonuo Umom wrote: Hi, please consider this snippet: import matplotlib.pyplot as plt d={} for i in range(1,21):    d[i] = i**2 plt.plot(d.values()) This is plotting values against the

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

2011-09-17 Thread John Hunter
On Fri, Sep 16, 2011 at 4:10 PM, John Ladasky john_lada...@sbcglobal.net wrote: Now I would like to add the axis lines and arrows.  In fact, I would prefer a FancyArrow object. I can see how to add non-text objects to an Axes, e.g.: ax = fig.add_subplot(111) ax.add_patch(my_arrow) But

Re: [Matplotlib-users] canvas.draw() memory issue? (PyQt4)

2011-09-16 Thread John Hunter
Yes, it is possible. Everything that is possible in the pyplot interface is available in the API (the pyplot interface is a thin wrapper). Most plotting methods from pyplot like plot, semilogx, imshow, scatter, etc, are axes instances ax = fig.add_subplot(111) ax.imshow(...) and the title,

Re: [Matplotlib-users] PDF (but not screen) output raises Path lacks initial MOVETO

2011-09-15 Thread John Hunter
On Thu, Sep 15, 2011 at 4:03 AM, Eric O LEBIGOT (EOL) eric.lebi...@normalesup.org wrote: It would be better if Matplotlib's backends were consistent, here (i.e. if it failed both on screen and when generating the PDF, or if it did not fail at all). I attach a slightly modified version of the

Re: [Matplotlib-users] canvas.draw() memory issue? (PyQt4)

2011-09-15 Thread John Hunter
On Fri, Sep 9, 2011 at 5:04 PM, Matt Earnshaw m...@earnshaw.org.uk wrote: Hi all, I am encountering a memory leak type issue when running the following, for example. http://codepad.org/TNuCLT3k Matplotlib version: 0.99.3 PyQt4 Version: 4.8.5 I found a thread in the archive relating to

Re: [Matplotlib-users] Problems installing Matplotlib under SUSE SLES 11 SP1

2011-09-15 Thread John Hunter
On Thu, Sep 15, 2011 at 11:42 AM, falbriard clau...@br.ibm.com wrote: Thanks Michael for your quick reply. I will consider use of the yum tool to install the per-requisite and future updates.  Meanwhile I got a step forwards with help of the freetype developer forum and I succeeded to build

Re: [Matplotlib-users] Problems installing Matplotlib under SUSE SLES 11 SP1

2011-09-15 Thread John Hunter
On Thu, Sep 15, 2011 at 1:31 PM, Filipe Pires Alvarenga Fernandes ocef...@gmail.com wrote: Hi, On SUSE you have zypper I'm not familiar with SUSE repos, but OpenSUSE repos do have matplotlib, just type: sudo zypper in python-matplolib that should install it for you. And if you want to

Re: [Matplotlib-users] RuntimeError: could not open display

2011-09-01 Thread John Hunter
On Thu, Sep 1, 2011 at 1:23 PM, CompBio roger...@cs.colostate.edu wrote: BTW, the reason I specify a PDF backend is because I thought it would tell matplotlib not to try to use anything else behind the scenes such as an X-window display.  It's working the way I want now, so I assume that's

Re: [Matplotlib-users] numpy datetime64 plans?

2011-08-29 Thread John Hunter
On Mon, Aug 29, 2011 at 2:56 PM, Mark Bakker mark...@gmail.com wrote: Hello List, Does anybody know of any plans to include support for the new datetime64 data type in numpy? If this is the new numpy standard for doing dates and times, it would be great if it would work with plot_date, for

Re: [Matplotlib-users] using matplotlib in web servers

2011-08-21 Thread John Hunter
On Sun, Aug 21, 2011 at 12:42 PM, Chris Withers ch...@simplistix.co.uk wrote: Hi All, The majority of the docs for matplotlib focus on making its behaviour like that of Matlab, however, I'm looking to use it to generate graphs for display by web apps. Where can I find good examples of doing

Re: [Matplotlib-users] Newbie : How to add a Colored legend with Text for 3d plot

2011-08-17 Thread John Hunter
On Wed, Aug 17, 2011 at 5:30 PM, hari jayaram hari...@gmail.com wrote: Thanks for your email Ben. Sorry I am still lost. I dont understand what the handles type is . In my example I guess the handles are an array of circles representing each x,y,z point.I am still a little lost since the plot

Re: [Matplotlib-users] [matplotlib-devel] Calling all Mac OSX users!

2011-08-16 Thread John Hunter
On Mon, Aug 15, 2011 at 9:34 PM, Benjamin Root ben.r...@ou.edu wrote: The mpl developers are getting very close to the long-awaited v1.1.0 release of matplotlib.  Before we do so, we are doing some final checking of the documentation to make sure that all critical pieces of information iss

Re: [Matplotlib-users] installation issues

2011-08-02 Thread John Hunter
On Mon, Aug 1, 2011 at 6:48 PM, Ivan D Vasin iva...@adverplex.com wrote: i came across some issues while attempting to install matplotlib today: first issue: no bug tracker matplotlib's website has a link to a bug tracker that is no longer available.  i'm guessing this mailing

Re: [Matplotlib-users] Mlab - Rec_Summarize / Rec_GroupBy

2011-07-01 Thread John Hunter
On Fri, Jul 1, 2011 at 11:14 AM, Hackett, John (Norcross, GA) john.hack...@unisourceworldwide.com wrote: After some experimentation (and judicious peeking at the source code), I think I’ve got the hang of writing custom functions to pass into these modules – basically, anything that accepts a

Re: [Matplotlib-users] gimmicks/eye candy: Is for example fading possible?

2011-06-22 Thread John Hunter
On Wed, Jun 22, 2011 at 8:30 AM, Michael Droettboom md...@stsci.edu wrote: matplotlib doesn't currently support gradients.  Patches welcome!  :)  It's probably a lot of work to get it working across all backends, but following the pattern of how hatches are handled now would probably be a good

Re: [Matplotlib-users] Missing Data Points in plots generated using matplotlib

2011-06-08 Thread John Hunter
On Tue, Jun 7, 2011 at 5:16 PM, Shankararaman Ramakrishnan shankararaman_ramakrish...@trimble.com wrote: Hi, I use matplotlib as my python graphics library. I happen to see the following problems with the plot() function and would appreciate any help to resolve these problems! 1.

Re: [Matplotlib-users] Increase max polygons/patches

2011-04-21 Thread John Hunter
On Thu, Apr 21, 2011 at 11:22 AM, Michael Droettboom md...@stsci.edu wrote: There is no hard coded limit to the number of quads in a pcolormesh. (Unlike the limit of the number of points in a path in the Agg backend). Can you provide some code that reproduces the error? Also, which version of

Re: [Matplotlib-users] using matplotlib on a server

2011-03-28 Thread John Hunter
On Mon, Mar 28, 2011 at 8:19 AM, Paulo J. Matos pocma...@gmail.com wrote: Hi, I am trying to use matplotlib on a server which I don't run without it installed. I tried untarring it to a folder in the path of PYTHONPATH and using it directly without any luck. Has anyone successfully

Re: [Matplotlib-users] Any update on streamline plot

2011-02-14 Thread John Hunter
On Sun, Feb 13, 2011 at 11:45 PM, Tom Flannaghan tj...@cam.ac.uk wrote: It would also be helpful if anyone has suggestions on a particular issue I had. Currently, to plot variable-width lines (i.e. streamlines2.png) I use a plot command for each line segment which is very slow and nasty. Is

Re: [Matplotlib-users] corrupt .tar.gz

2011-01-06 Thread John Hunter
On Thu, Jan 6, 2011 at 3:06 PM, aradea hakim arade...@gmail.com wrote: Hi all, I am trying to install matplotlib1.0.1 on my machine but somehow I keep on getting a corrupt .tar.gz file. This is the error message: tar: Skipping to next header gzip: stdin: invalid compressed data--crc error

Re: [Matplotlib-users] latest matplotlib requires python = 2.5

2011-01-05 Thread John Hunter
On Wed, Jan 5, 2011 at 9:51 AM, Benjamin Root ben.r...@ou.edu wrote: On Tue, Jan 4, 2011 at 5:49 AM, Marcin Dulak marcin.du...@gmail.comwrote: Hi, the formlayout part in the latest matplotlib requires python = 2.5 See

Re: [Matplotlib-users] Possible memory leak?

2010-11-18 Thread John Hunter
On Thu, Nov 18, 2010 at 2:20 PM, Benjamin Root ben.r...@ou.edu wrote: Interesting analysis.  One possible source of a leak would be some sort of dangling reference that still hangs around even though the plot objects have been cleared.  By the time of the matplotlib 1.0.0 release, we did seem

Re: [Matplotlib-users] Formatter dates

2010-11-17 Thread John Hunter
On Wed, Nov 17, 2010 at 2:29 AM, Tim Åberg qw...@hotmail.com wrote: Hello! I have now been tampering with a custom formatter and the more i think about it the more i feel there must be a more easy soulution. I have a set of values that are plotted over time (i use date2num, to get the

Re: [Matplotlib-users] Mac OSX backend

2010-11-13 Thread John Hunter
On Sat, Nov 13, 2010 at 7:46 AM, Michiel de Hoon mjldeh...@yahoo.com wrote: OK, thanks. With your example, I see a difference between the Mac OS X backend and the TKAgg/GtkAgg backend but only if interactive is False in matplotlibrc. If interactive is True, both the Mac OS X backend and the

Re: [Matplotlib-users] Mac OSX backend

2010-11-13 Thread John Hunter
On Sat, Nov 13, 2010 at 9:23 AM, Michiel de Hoon mjldeh...@yahoo.com wrote: Thanks for your reply. But nowadays drawing is done through draw_idle, so we don't trigger additional drawing even if interactive is True. In your example, if run as a script, there is no drawing until a call to

Re: [Matplotlib-users] Linecollection, Dates on X-axis

2010-11-12 Thread John Hunter
On Nov 12, 2010, at 4:12 AM, Tim Åberg qw...@hotmail.com wrote: Thats seems to be what im after, diffrent resolution but that would be a easy fix i guess :) Did you manage to run the example? i got a; datafile = cbook.get_sample_data('msft.csv', asfileobj=False) AttributeError:

Re: [Matplotlib-users] Figure and Canvas

2010-11-12 Thread John Hunter
On Fri, Nov 12, 2010 at 4:20 AM, Olivier Verdier zelb...@gmail.com wrote: Hi, I would like to use matplotlib in a programmatic way. I thought about creating a Figure object (with no canvas), and plot in that Figure. Depending on what the user wants, I could then either plot on screen or

Re: [Matplotlib-users] Mac OSX backend

2010-11-12 Thread John Hunter
On Thu, Nov 11, 2010 at 7:32 PM, Michiel de Hoon mjldeh...@yahoo.com wrote: For this example, I am finding the exact same behavior with the Mac OS X backend as with the gtkcairo and gtkagg backends (on Mac OS X and Cygwin). If this is a bug, then which backend can we use as an example of the

Re: [Matplotlib-users] Mac OSX backend

2010-11-11 Thread John Hunter
On Nov 11, 2010, at 4:15 AM, mdekauwe mdeka...@gmail.com wrote: Hi, I have my backend set up in my .matplotlib/matplotlibrc file as: backend : MacOSX However if I run a script which does multiple plots and I don't ask the script to display the plots (i.e. not imshow()), I

Re: [Matplotlib-users] Mac OSX backend

2010-11-11 Thread John Hunter
On Thu, Nov 11, 2010 at 6:32 AM, mdekauwe mdeka...@gmail.com wrote: It isn't any one script, if you did import numpy as np import matplotlib.pyplot as plt x = np.arange(10) for i in xrange(10):    plt.plot(x)    plt.savefig('x.png') it pops up the plot window even though I didn't ask it

Re: [Matplotlib-users] problem with negative numbers on axes in EPS file when using in Latex file

2010-11-10 Thread John Hunter
On Wed, Nov 10, 2010 at 6:38 AM, Mark Bakker mark...@gmail.com wrote: I have a pretty wacky problem. I create a figure which includes negative values along the y-axis: plot([-1,1]) for example. I save the figure as EPS. When I look at the figure with preview on my Mac it looks fine. When I

Re: [Matplotlib-users] python v ipython problem in imshow()

2010-11-10 Thread John Hunter
On Wed, Nov 10, 2010 at 5:43 AM, Garry Willgoose garry.willgo...@newcastle.edu.au wrote: John, OK by looking at matplotlib.rcParams['backend'] I've been able to diagnose this a little more. When the backend is  'WXAgg' everything looks fine. The axes have (0,0) where you would expect and

Re: [Matplotlib-users] python v ipython problem in imshow()

2010-11-10 Thread John Hunter
On Wed, Nov 10, 2010 at 9:48 AM, Michiel de Hoon mjldeh...@yahoo.com wrote: Garry, if the bug still exists in matplotlib 1.0 could you open a bug report for it? I think Gary doesn't have easy access to 1.0. Here is the relevant example if anyone has 1.0 on macosx to test with

Re: [Matplotlib-users] matplotlib sphinxext crashes in sphinx-build

2010-11-04 Thread John Hunter
On Thu, Nov 4, 2010 at 11:43 AM, Elizabeth Yip Dembart elyip.demb...@gmail.com wrote: Thank you for the prompt response. I cannot run matplotlib directly.  It crashes as I tried to import matplotlib.pyplot: sphinx/sampledoc python Python 2.6 (r26:66714, Dec  3 2008, 10:55:18) [GCC 4.3.2

Re: [Matplotlib-users] matplotlib sphinxext crashes in sphinx-build

2010-11-04 Thread John Hunter
On Thu, Nov 4, 2010 at 12:06 PM, Elizabeth Yip Dembart elyip.demb...@gmail.com wrote: Thanks !! Here is the output from the python section you suggested: /sampledoc python Python 2.6 (r26:66714, Dec  3 2008, 10:55:18) [GCC 4.3.2 [gcc-4_3-branch revision 141291]] on linux2 Type help,

[Matplotlib-users] recipes in the docs

2010-11-04 Thread John Hunter
I added a new section of the docs users/recipes.rst. This is meant to be a cookbook style place to place short tutorials, annotated examples, idioms and snippets. http://matplotlib.sourceforge.net/users/recipes.html I've added a few things already and would love to see contributions from

Re: [Matplotlib-users] plotting slow in directories with many files

2010-10-18 Thread John Hunter
On Mon, Oct 18, 2010 at 8:42 AM, Michael Droettboom md...@stsci.edu wrote: matplotlib, under normal usage, doesn't list all files in the current directory.  Can you provide the steps you perform before calling show()?  What platform are you on, and which backend are you using?\ The only thing

Re: [Matplotlib-users] 3d plot without marker edge

2010-10-15 Thread John Hunter
On Fri, Oct 15, 2010 at 3:10 AM, Robert Fenwick robert.fenw...@irbbarcelona.org wrote: I have a 3d plot that I am trying to plot and I can not get rid of the marker edge. an example would help What have you tried -- if line is a Line3D object, the following should work:

Re: [Matplotlib-users] user group video

2010-10-15 Thread John Hunter
On Thu, Oct 14, 2010 at 2:07 PM, Carl Karsten c...@personnelware.com wrote: yep - thanks.  Not exactly how I remember it from the talk.  wonder where the story got changed. Hey Carl -- I added the talk video link on the mpl website http://carlfk.blip.tv/file/2557425 The dolphins story you

Re: [Matplotlib-users] Equation

2010-10-13 Thread John Hunter
On Wed, Oct 13, 2010 at 9:28 AM, Waléria Antunes David waleriantu...@gmail.com wrote: Hi all, I know here is a group for matplotlib, but can anyone help me? I need to pass this integral equation for for scipy.integrate pack for python. My integral equation is attached. Can anyone help me?

Re: [Matplotlib-users] dolphin save as svg broken

2010-10-13 Thread John Hunter
On Wed, Oct 13, 2010 at 10:19 AM, Carl Karsten c...@personnelware.com wrote: On Wed, Oct 13, 2010 at 8:33 AM, Michael Droettboom md...@stsci.edu wrote: On 10/12/2010 07:16 PM, Fernando Perez wrote: On Tue, Oct 12, 2010 at 3:03 PM, Carl Karstenc...@personnelware.com   wrote: Run the code, you

Re: [Matplotlib-users] dolphin save as svg broken

2010-10-13 Thread John Hunter
On Wed, Oct 13, 2010 at 10:45 AM, Carl Karsten c...@personnelware.com wrote: Need to get 535MB of archives. I am on a pretty slow shared connection, so need to wait a week to get back home before I do this. How much does just the mpl part cost you?

Re: [Matplotlib-users] Best way to use Excel Data

2010-10-07 Thread John Hunter
On Thu, Oct 7, 2010 at 12:27 PM, Michael Droettboom md...@stsci.edu wrote:  You may want to look at this as well: http://matplotlib.sourceforge.net/api/mlab_api.html?highlight=csv#matplotlib.mlab.csv2rec And these examples: http://matplotlib.sourceforge.net/search.html?q=codex+csv2rec JDH

  1   2   3   4   5   6   7   8   9   10   >