Re: [Matplotlib-users] Graph

2010-10-07 Thread John Hunter
On Thu, Oct 7, 2010 at 1:01 PM, Waléria Antunes David waleriantu...@gmail.com wrote: I need to know how do these vertical lines on the graph. See the picture, the lines circled. We call these major and minor ticks. The major ticks are the taller ones, the minor ticks are the smaller ones.

Re: [Matplotlib-users] Where is the widgets ...???

2010-10-05 Thread John Hunter
On Mon, Oct 4, 2010 at 10:46 AM, Ademir Francisco da Silva ademirfs_...@inteligweb.com.br wrote: Hi John ..., I hope everything goes well ... ( This message is only for you ... ) I have decided to wrote this email to know if you have been working in widget module ..., as you know by 2

Re: [Matplotlib-users] Combination of a box plot and a histogram

2010-10-04 Thread John Hunter
On Thu, Sep 30, 2010 at 8:44 PM, Tony S Yu tsy...@gmail.com wrote: I'd like to make something in between a box plot [1] and a histogram. Each histogram would be represented by a single, tall, rectangular patch (like the box in a box plot), and the patch would be subdivided by the bin edges of

Re: [Matplotlib-users] Combination of a box plot and a histogram

2010-10-04 Thread John Hunter
On Mon, Oct 4, 2010 at 3:37 PM, Tony S Yu tsy...@gmail.com wrote: Thanks! I'll give both imshow and pcolor a try. Most likely I'll use pcolor, since lighter bins would completely disappear without faceting (... or maybe that's a good thing). The barcode demo shows something similar with a

Re: [Matplotlib-users] how to display figure from a GUI app?

2010-09-30 Thread John Hunter
On Wed, Sep 29, 2010 at 3:43 PM, Skip Montanaro s...@pobox.com wrote: I have a GTK app which runs its matplotlib stuff in a separate thread.  If I call pylab.show() at the end of building the plot the first time it displays, then after that I have to destroy the window before it will think

Re: [Matplotlib-users] How to find out the extend of the actual image in pixels

2010-09-29 Thread John Hunter
On Wed, Sep 29, 2010 at 4:44 AM, Alexander Dietz alexanderdie...@googlemail.com wrote: I would like to know how to find out the extend of the actual image in a plot, in units of pixels. As example I have attached a plot which is essentially empty. The lower left corner is indicated by a red

Re: [Matplotlib-users] How to find out the extend of the actual image in pixels

2010-09-29 Thread John Hunter
On Wed, Sep 29, 2010 at 8:50 AM, Alexander Dietz alexander.diet...@googlemail.com wrote: print ax.transData.transform((10.0, 20.0)) [ 576.  432.] Why do you say it's wrong? Note that in mpl, (0,0) is (bottom left), not (upper,left). So this is saying that the yellow dot at 10,20 (data

Re: [Matplotlib-users] move xaxis label on the right

2010-09-28 Thread John Hunter
On Tue, Sep 28, 2010 at 10:04 AM, Ruggero giurr...@gmail.com wrote: As in the title: usually axis label on the x axis is plottet in the middle of the axis. How to move it on the right? (and on the top for y axis) You cannot coerce the xlabel to the top because it's y position is determined at

Re: [Matplotlib-users] move xaxis label on the right

2010-09-28 Thread John Hunter
On Tue, Sep 28, 2010 at 11:29 AM, John Hunter jdh2...@gmail.com wrote: On Tue, Sep 28, 2010 at 10:04 AM, Ruggero giurr...@gmail.com wrote: As in the title: usually axis label on the x axis is plottet in the middle of the axis. How to move it on the right? (and on the top for y axis) You

Re: [Matplotlib-users] move xaxis label on the right

2010-09-28 Thread John Hunter
On Tue, Sep 28, 2010 at 2:10 PM, Ruggero giurr...@gmail.com wrote: really there is no way to place the xlabel on the right as here: http://www.cernlove.org/blog/wp-content/uploads/2009/10/root_plot1d.png  ? Sorry, I misread the meaning of and on the top for y axis. As Ben noted, if all you

Re: [Matplotlib-users] another incorrectly clipped PNG in the gallery

2010-09-23 Thread John Hunter
On Wed, Sep 22, 2010 at 8:31 PM, C M cmpyt...@gmail.com wrote: Until a more permanent solution is figured out, can anyone recommend any workarounds, even if they are a little clunky?  I'm embedding mpl plots in wxPython and am also finding this issue suboptimal. Change your subplots adjust

Re: [Matplotlib-users] citation of mpl

2010-09-23 Thread John Hunter
On Thu, Sep 23, 2010 at 2:33 PM, Chloe Lewis chle...@berkeley.edu wrote: Well, I had my bib program open, so here are a couple formats: Thanks for posting these. I added this to the FAQ: http://matplotlib.sourceforge.net/faq/howto_faq.html#cite-matplotlib JDH

Re: [Matplotlib-users] Example of matplotlib artists

2010-09-22 Thread John Hunter
On Wed, Sep 22, 2010 at 6:37 AM, Bartosz Telenczuk b.telenc...@biologie.hu-berlin.de wrote: Hi, I am working on a presentation on matplotlib API and its application to create non-trivial data visualizations. I wrote a script to show some matplotlib artists and I thought it would fit nice

Re: [Matplotlib-users] citation of mpl

2010-09-22 Thread John Hunter
On Wed, Sep 22, 2010 at 8:45 AM, Bala subramanian bala.biophys...@gmail.com wrote: Friends, I have mentioned in my research manuscript that plots were generated by 'matplotlib package'. I dnt find the related reference of mpl. Kindly tell me how can i site mpl. You can certainly reference the

Re: [Matplotlib-users] citation of mpl

2010-09-22 Thread John Hunter
On Wed, Sep 22, 2010 at 8:59 AM, John Hunter jdh2...@gmail.com wrote: Matplotlib: A 2D Graphics Environment Source: Computing in Science and Engineering archive Volume 9 , Issue 3 (May 2007) Pages: 90-95 Year of Publication: 2007 ISSN:1521-9615 Author:John D. Hunter Publisher

Re: [Matplotlib-users] textured bar-chart

2010-09-20 Thread John Hunter
On Mon, Sep 20, 2010 at 8:43 AM, Ryan May rma...@gmail.com wrote: It's not what one would call a turn-key solution, but it is possible: http://matplotlib.sourceforge.net/examples/pylab_examples/demo_ribbon_box.html There is also hatching

Re: [Matplotlib-users] My Legend keeps growing! Help

2010-08-26 Thread John Hunter
On Wed, Aug 25, 2010 at 10:47 PM, dcarroll spanishcastlema...@gmail.com wrote: I am trying make a plot that is in a loop and replots when new data is updated. #IN A LOOP    fig = plt.figure(1,[10,10])    fig.clf It looks like the problem is that you are not clearing your figure. clf is a

Re: [Matplotlib-users] Animated artists not present in savefigged files

2010-08-23 Thread John Hunter
On Mon, Aug 23, 2010 at 7:59 AM, Kim Hansen slaun...@gmail.com wrote: Hi list, I am using animated artists to generate an animation, where I save each step in the anmantion as a png using the savefig method of the figure instance after drawing the animated artists on a cached background and

Re: [Matplotlib-users] embed matplotlib Figure into Tkinter Canvas

2010-08-13 Thread John Hunter
On Fri, Aug 13, 2010 at 1:42 AM, gurnem...@me.com wrote: Dear All, I am trying to embed a matplotlib Figure into a Tkinter Canvas.  The problem is, when I change the content of the figure (e.g. I delete and create new axes) the new items are plotted but the old items are not deleted.  The

Re: [Matplotlib-users] False empty strings in csv2rec

2010-08-13 Thread John Hunter
On Thu, Aug 12, 2010 at 8:10 PM, Sergi Pons Freixes sp...@utm.csic.es wrote: Hi everybody, I have a csv file which I would like to read with pylab.csv2rec . The file has a header row, values speparated by commas, and a lot of missings as empty entries. So, a line with missings looks like:

Re: [Matplotlib-users] mpl_toolkits

2010-08-11 Thread John Hunter
On Wed, Aug 11, 2010 at 7:10 AM, c.jeang christian.jeanguilla...@univ-angers.fr wrote: Hie john, and thank you for your prompt answer. my version is currently the 0.99.1.1 I am going to install the 1.0.0 Thank again Best regards If you are on 0.99.1, then this is not the source of your

Re: [Matplotlib-users] mpl_toolkits

2010-08-10 Thread John Hunter
On Tue, Aug 10, 2010 at 12:15 PM, c.jeang christian.jeanguilla...@univ-angers.fr wrote: Hello,  where can I find mpl_toolkits.  Because I install matplotlib with ipython and the command  yum install python-matplotlib  but as a result I have no axes3d.py file and when I tried the examples of

Re: [Matplotlib-users] Confusion Matrix

2010-08-08 Thread John Hunter
On Sun, Aug 8, 2010 at 8:03 PM, Friedrich Romstedt friedrichromst...@gmail.com wrote: Yes, I agree fully, but have been busy the past few days :-) Friedrich P.S.: You can also try http://matplotlib.sourceforge.net/examples/pylab_examples/alignment_test.html , I believe there was some other

Re: [Matplotlib-users] Performance problems plotting several lines

2010-08-04 Thread John Hunter
On Wed, Aug 4, 2010 at 9:42 AM, Ulf Larsson ulf.j.lars...@hotmail.com wrote: Hi, I have some performance problems when plotting several lines and would appreciate some comments. My application plots lots of lines (~5000) of different sizes. The performance bottleneck lies in the following

Re: [Matplotlib-users] Tick label sizes

2010-08-04 Thread John Hunter
On Wed, Aug 4, 2010 at 11:07 AM, Tommy Grav tg...@mac.com wrote: A rather simple question, but I could not find the answer while rummaging around on the matplotlib webpages. Is there a way to increase the size of the tick label sizes from say fontsize 9 to 12? for label in

Re: [Matplotlib-users] Rotated text for selected subplots

2010-08-03 Thread John Hunter
On Tue, Aug 3, 2010 at 6:23 AM, thowa thors...@foren.walenzyk.de wrote: Hi, I'm pretty new to Matplotlib and I'm really impressed about the possibilities !!! GREAT WORK !!! I have a figure with 3 subplots like this. *---*    *--* |          |     |        

Re: [Matplotlib-users] Way to see data value in imaging an array?

2010-08-03 Thread John Hunter
On Mon, Aug 2, 2010 at 12:51 AM, David Goldsmith d.l.goldsm...@gmail.com wrote: Hi!  Is there a way to see data values when imaging an array, say, e.g., when holding the cursor over a point? Take a look at http://matplotlib.sourceforge.net/examples/api/image_zcoord.html JDH

Re: [Matplotlib-users] HTML area for a matplotlib picture

2010-07-28 Thread John Hunter
On Wed, Jul 28, 2010 at 8:35 AM, Mario Laforest 2 mario.lafor...@ubisoft.com wrote: Hello, I am trying to create clickable images for HTML.  For transforming the coordinates  in the examples I found they are using the function seq_x_y(). But that function is not available anymore. How

Re: [Matplotlib-users] PolyCollection API

2010-07-27 Thread John Hunter
On Tue, Jul 27, 2010 at 2:50 PM, Eric Firing efir...@hawaii.edu wrote: On 07/27/2010 09:43 AM, Mathew Yeates wrote: I tried xs=[0,0,8,8] ys=[0,8,8,0] verts=zip(xs,ys) poly = PolyCollection([verts]) already but it doesn't work Yes, I saw you say that, but---did you actually try running

Re: [Matplotlib-users] Plot moves while using the Zoom to rectangle button

2010-07-25 Thread John Hunter
On Sun, Jul 25, 2010 at 3:14 PM, Benjamin Root ben.r...@ou.edu wrote: I tried a bunch of the animation examples and widget examples with and without the patch.  I could not find one that was affected by this bug, however, none of them were adversely affected by the patch.  However, both of the

Re: [Matplotlib-users] Plot moves while using the Zoom to rectangle button

2010-07-24 Thread John Hunter
On Sat, Jul 24, 2010 at 1:56 PM, Benjamin Root ben.r...@ou.edu wrote: On Sat, Jul 24, 2010 at 12:17 PM, João Luís Silva jsi...@fc.up.pt wrote: On 07/13/2010 02:31 AM, John Hunter wrote: On Mon, Jul 12, 2010 at 8:05 PM, John Hunterjdh2...@gmail.com  wrote: All of which is discouraging: we

Re: [Matplotlib-users] plotting an array with gaps

2010-07-24 Thread John Hunter
On Sat, Jul 24, 2010 at 4:26 PM, mdekauwe mdeka...@gmail.com wrote: Hi, Is there a nice way to plot an array where there are say missing days and you wouldn't want the line to join over these data gaps, i.e. show the gaps. E.g. 1 4.5 2 4.6 4 6.7 8 5.7 9 1.2 The only way I could

Re: [Matplotlib-users] Plot() : IndexError: index out of range for array

2010-07-22 Thread John Hunter
On Thu, Jul 22, 2010 at 3:48 AM, alberttresens albert.tres...@gmail.com wrote: Might be usefull, that is the script I am trying to run. I has some checks, but is basiclly from Salmon Run Blog: We can't run this because when you pasted the text into the browser it was line wrapped and would

Re: [Matplotlib-users] Plot() : IndexError: index out of range for array

2010-07-22 Thread John Hunter
On Thu, Jul 22, 2010 at 7:58 AM, alberttresens albert.tres...@gmail.com wrote: http://old.nabble.com/file/p29236565/gcview.py gcview.py http://old.nabble.com/file/p29236565/gc.log gc.log Hi here the files you were asking for. Works fine for me -- most likely one of my suggestions in the

Re: [Matplotlib-users] Plot() : IndexError: index out of range for array

2010-07-22 Thread John Hunter
On Thu, Jul 22, 2010 at 8:07 AM, John Hunter jdh2...@gmail.com wrote: On Thu, Jul 22, 2010 at 7:58 AM, alberttresens albert.tres...@gmail.com wrote: http://old.nabble.com/file/p29236565/gcview.py gcview.py http://old.nabble.com/file/p29236565/gc.log gc.log Hi here the files you were asking

Re: [Matplotlib-users] Plot() traceback issue

2010-07-21 Thread John Hunter
On Wed, Jul 21, 2010 at 9:16 AM, alberttresens albert.tres...@gmail.com wrote: I am trying to do a plot, and getting and out of index, I am not sure what is reason. I tried all combinations even with empty arrays and possible indexes. Always the same. Any one can recon what is happening from

Re: [Matplotlib-users] Plot() : IndexError: index out of range for array

2010-07-21 Thread John Hunter
On Wed, Jul 21, 2010 at 10:05 AM, alberttresens albert.tres...@gmail.com wrote: I am getting this trace when trying to plot. I tried all possible combinations in the plot parameters, always the same. Can someone recon what is happening? Traceback (most recent call last):  File gcview.py,

Re: [Matplotlib-users] matplotlib1.0 via easy_install

2010-07-21 Thread John Hunter
On Wed, Jul 21, 2010 at 5:06 PM, Andreas li...@hilboll.de wrote: Hi there, I try to install matplotlib 1.0 via easy install. But a simple   easy_install -U matplotlib produces this, effectively installing 0.99.1   Searching for matplotlib   Reading

Re: [Matplotlib-users] Potential Bug with SpanSelector

2010-07-21 Thread John Hunter
On Wed, Jul 21, 2010 at 2:11 PM, Aman Thakral aman.thak...@gmail.com wrote: Ok, so I've fixed it. Its just because the mouse goes outside the axes.  How do I make the change in the code? Error: line 924 in widgets.py old code: x,y = event.xdata, event.ydata fixed code: if not

Re: [Matplotlib-users] imshow memory leak in pylab mode?

2010-07-14 Thread John Hunter
On Wed, Jul 14, 2010 at 10:18 AM, K.-Michael Aye kmichael@gmail.com wrote: On 2010-07-14 01:46:49 +0200, John Hunter said: On Mon, Jul 12, 2010 at 5:06 PM, K.-Michael Aye kmichael@gmail.com wrote: On 2010-07-12 23:17:19 +0200, John Hunter said: On Mon, Jul 12, 2010 at 4:06 PM, K

Re: [Matplotlib-users] imshow memory leak in pylab mode?

2010-07-14 Thread John Hunter
On Wed, Jul 14, 2010 at 11:38 AM, K.-Michael Aye kmichael@gmail.com wrote: Out[12]: 1 In [13]: gc.collect() Out[13]: 12 still not seeing a leak in your data -- you need to report_memory after calling gc collect. Turn off hold, add an image, call collect, report memory, the repeat

Re: [Matplotlib-users] Cannot get key_press_event to work with gtk builder

2010-07-13 Thread John Hunter
On Tue, Jul 13, 2010 at 5:34 AM, Preben Randhol rand...@pvv.org wrote: Hi I have tried the mpl and glade examples and tried different approaches from the net, but I can only get button_press_event to work with a matplot canvas. key_press_event does not work using gtkagg for GUI. Is this due

Re: [Matplotlib-users] imshow memory leak in pylab mode?

2010-07-13 Thread John Hunter
On Mon, Jul 12, 2010 at 5:06 PM, K.-Michael Aye kmichael@gmail.com wrote: On 2010-07-12 23:17:19 +0200, John Hunter said: On Mon, Jul 12, 2010 at 4:06 PM, K.-Michael Aye kmichael@gmail.com wrote: Dear all, I'm not sure if this is by design or a problem: It's by design

Re: [Matplotlib-users] My suspects goes to ....

2010-07-12 Thread John Hunter
On Mon, Jul 12, 2010 at 9:35 AM, Ademir Francisco da Silva ademirfs_...@inteligweb.com.br wrote: Hello John ..., I was thinking about our speech by email yesterday and I am not sure that the problem is in that unofficial compilation I am really surmising about those several changes in Python

Re: [Matplotlib-users] Problems with pygtk and matplotlib

2010-07-12 Thread John Hunter
On Sun, Jul 11, 2010 at 12:52 PM, Preben Randhol rand...@pvv.org wrote: If you could create a minimal example starting with embedding_in_gtk3.py that replicates your problem, we're more likely to be able to help. Thanks for posting the example. This runs fine for me (I can pan, zoom, zoom to

Re: [Matplotlib-users] imshow memory leak in pylab mode?

2010-07-12 Thread John Hunter
On Mon, Jul 12, 2010 at 4:06 PM, K.-Michael Aye kmichael@gmail.com wrote: Dear all, I'm not sure if this is by design or a problem: In a pylab session, if I repeatedly call imshow with the same image, memory increases each time. This does not happen if i go the 'Artists' way (fig = ..,

Re: [Matplotlib-users] Scale legend box border, dashed and dotted lines when the figure size is changed

2010-07-12 Thread John Hunter
On Mon, Jul 12, 2010 at 5:11 PM, Jeffrey Blackburne je...@mit.edu wrote: Actually, I have been able to do it like this: mpl.rcParams['patch.linewidth'] = 0.2 Hope that helps, and sorry I didn't reply sooner. Of course this will affect any other patches in your figure (eg Rectangles from

Re: [Matplotlib-users] Plot moves while using the Zoom to rectangle button

2010-07-12 Thread John Hunter
On Mon, Jul 12, 2010 at 5:58 PM, João Luís Silva jsi...@fc.up.pt wrote: Hi, I've finally created a small script that demonstrates a bug that I've been enduring for a long time. I haven't seen it reported before, so I may be doing something wrong. The bug is as follows: Under certain

Re: [Matplotlib-users] Plot moves while using the Zoom to rectangle button

2010-07-12 Thread John Hunter
On Mon, Jul 12, 2010 at 6:39 PM, João Luís Silva jsi...@fc.up.pt wrote: John Hunter wrote: On Mon, Jul 12, 2010 at 5:58 PM, João Luís Silva jsilva-bxeiay08...@public.gmane.org wrote: Hi, I've finally created a small script that demonstrates a bug that I've been enduring for a long time

Re: [Matplotlib-users] Plot moves while using the Zoom to rectangle button

2010-07-12 Thread John Hunter
On Mon, Jul 12, 2010 at 8:05 PM, John Hunter jdh2...@gmail.com wrote: All of which is discouraging: we both see bugs but different ones on linux, the appearance of the bug is caused by adding a combobox which is not used (on my system), the bug appears on some platforms (linux) but not others

Re: [Matplotlib-users] Where is the widgets ...???

2010-07-11 Thread John Hunter
On Sun, Jul 11, 2010 at 11:15 AM, Ademir Francisco da Silva Case closed. Finally I find it..., but for my success I have taken off the #  of the  #interactive  : False  on the line #37 from this file matplotlib\\mpl-data\\matplotlibrc  and everything works fine now. I don't think this flag

Re: [Matplotlib-users] problem importing pyplot/pylab on mac os x 10.4.11

2010-07-09 Thread John Hunter
On Fri, Jul 9, 2010 at 7:25 AM, Karianne Holhjem karia...@astro.uni-bonn.de wrote: Regarding numpy - what you say is intersting. I couldn't find any such problems in my google-searches. I am running version 1.2.1: [karianneholhjem:/] karianne% python -c 'import numpy; print

Re: [Matplotlib-users] Problems with pygtk and matplotlib

2010-07-09 Thread John Hunter
On Fri, Jul 9, 2010 at 3:10 PM, Preben Randhol rand...@pvv.org wrote: Hi I'm trying to plot several subplots. I have setup a scrollwidget and viewport and I pack a canvas into a vbox in the viewport. Problem is that when I scroll, either some of the subplots are missing, or I get an error

Re: [Matplotlib-users] interactive plots in ipython -pylab are delayed until ipython prompt

2010-07-09 Thread John Hunter
On Fri, Jul 9, 2010 at 9:52 PM, bdb112 boyd.blackw...@anu.edu.au wrote: python or ipython. See version numbers at end. import time # Note - this version is meant to be pasted! print('When pasted in to ipython -pylab, the plot should appear immediately, '      ' then the ipython prompt

Re: [Matplotlib-users] problem importing pyplot/pylab on mac os x 10.4.11

2010-07-08 Thread John Hunter
On Thu, Jul 8, 2010 at 5:50 AM, Karianne Holhjem karia...@astro.uni-bonn.de wrote: Hi, I'm having trouble getting pyplot and pylab to work on my Mac v.10.4.11 (Tiger). I've tried searching in both google and different macusers forums, but haven't found an answer to my problems. If I have

Re: [Matplotlib-users] ANN: matplotlib 1.0.0

2010-07-07 Thread John Hunter
On Wed, Jul 7, 2010 at 12:46 AM, Jason Grout jason-s...@creativetrax.com wrote: Wow, this is great news!  Thanks to everyone that has worked on this! I tried to find the html5/canvas backend in the 1.0.0 tarball.  Is it included in matplotlib?  The heading What's new *in* matplotlib 1.0 makes

Re: [Matplotlib-users] install from svn, pick correct of two numpy header locations

2010-07-07 Thread John Hunter
On Wed, Jul 7, 2010 at 12:12 PM, Eric Firing efir...@hawaii.edu wrote: On 07/07/2010 04:25 AM, Angus McMorland wrote: Hi all, I'm trying to install matplotlib from svn. I have two versions of numpy on my computer: one installed by the Ubuntu package manager in /usr/lib and one installed from

[Matplotlib-users] ANN: matplotlib 1.0.0

2010-07-06 Thread John Hunter
matplotlib 1.0.0 is available for download at https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/ You can read this announcement with links and rendered figures at http://matplotlib.sourceforge.net/users/whats_new.html This page just covers the highlights -- for

Re: [Matplotlib-users] ANN: matplotlib 1.0.0

2010-07-06 Thread John Hunter
On Tue, Jul 6, 2010 at 4:11 PM, John Hunter jdh2...@gmail.com wrote: A big thanks to all the developers who made this release possible. Some of the contributions are highlighted below, but a particular thanks to Eric Firing for new features and a heroic effort closing and fixing bugs, Jae

Re: [Matplotlib-users] matplotlib Mac binary that works with python.org python and older MacOS X?

2010-07-02 Thread John Hunter
On Thu, Jul 1, 2010 at 6:17 PM, Russell E. Owen ro...@uw.edu wrote: matplotlib-0.99.3-Apple-py2.6-macosx10.6.dmg for your existing binary, and matplotlib-0.99.3-python-py2.5-macosx10.4.dmg matplotlib-0.99.3-python-py2.6-macosx10.4.dmg OK, this is done. Thanks for the builds and naming

Re: [Matplotlib-users] matplotlib Mac binary that works with python.org python and older MacOS X?

2010-07-02 Thread John Hunter
On Fri, Jul 2, 2010 at 10:34 AM, Russell Owen ro...@uw.edu wrote: I would be happy to make the Mac binary builds for matplotlib (at least the ones I know how to make -- for python.org 32-bit). I personally suggest not building Mac eggs -- at least until easy_install gets really cleaned up.

Re: [Matplotlib-users] two enhancements for mpl 1.0

2010-07-02 Thread John Hunter
On Fri, Jul 2, 2010 at 12:10 PM, Christoph Gohlke cgoh...@uci.edu wrote: Hello, may I suggest two enhancements for the upcoming matplotlib 1.0 release. The first is related to bug #3011650 and fix r8379. http://matplotlib.svn.sourceforge.net/viewvc/matplotlib?view=revisionrevision=8379

Re: [Matplotlib-users] two enhancements for mpl 1.0

2010-07-02 Thread John Hunter
On Fri, Jul 2, 2010 at 12:10 PM, Christoph Gohlke cgoh...@uci.edu wrote: The second enhancement, a quick fix for placing images of extreme aspect ratio, is to allow 'panchor' and 'fraction' arguments in colorbar(). http://sourceforge.net/tracker/?func=detailaid=3016948group_id=80706atid=560723

Re: [Matplotlib-users] Build failure of SVN8415 on Solaris 10 SPARC

2010-07-02 Thread John Hunter
On Tue, Jun 29, 2010 at 8:25 AM, John Hunter jdh2...@gmail.com wrote: This issue is new and not related to the issue on the cookbook, I'm pretty sure.  I have the same problem on my box at work, and it was introduced when I upgraded to CXX6.  I have spent some time on it but haven't found

Re: [Matplotlib-users] show legend without box ?

2010-07-01 Thread John Hunter
On Thu, Jul 1, 2010 at 1:50 PM, Forest Yang yzine0...@gmail.com wrote: Hi All,  Is there any way to show the legend but without the box ? it is blocking the figures. Although I can set the alpha to make the legend transparent, still remove the box and make it transparent would be better.

Re: [Matplotlib-users] matplotlib Mac binary that works with python.org python and older MacOS X?

2010-07-01 Thread John Hunter
On Thu, Jul 1, 2010 at 12:56 PM, Christopher Barker chris.bar...@noaa.gov wrote: Russell E. Owen wrote: I made binaries (on Mac OS X 10.5) using my instructions: http://www.astro.washington.edu/users/rowen/BuildingMatplotlibForMac.htm l They are available from here, for now:

Re: [Matplotlib-users] Build failure of SVN8415 on Solaris 10 SPARC

2010-06-29 Thread John Hunter
On Fri, Jun 11, 2010 at 8:49 PM, Eric Firing efir...@hawaii.edu wrote: Do you have access to Sun SPARC hardware? If not, I can almost certainly arrange access to a Sun T5240 (16 core) at the University of Washington for a serious matplotlib developer. Dave, Thanks, but much as I would

[Matplotlib-users] matplotlib 1.0 release candidate 1 available for testing

2010-06-29 Thread John Hunter
We have uploaded a tarball and Windows and OSX binaries of matplotlib-1.0rc for testing http://drop.io/xortel1# Please report bugs to the tracker: http://sourceforge.net/tracker2/?group_id=80706 A few highlights: * Closed over 100 bugs in past three months -- largely due to the heroic

Re: [Matplotlib-users] incorrect output for math symbols

2010-06-11 Thread John Hunter
On Fri, Jun 11, 2010 at 7:50 AM, Michael Droettboom md...@stsci.edu wrote: Can you set the rcParam 'verbose.level' to 'debug-annoying' and send us the output? What version of matplotlib?  Which backend? You may also want to clear your fonts and tex cache rm -rf ~/.matplotlib/font*.cache

Re: [Matplotlib-users] Where is transform.xy_tup?

2010-06-09 Thread John Hunter
On Wed, Jun 9, 2010 at 9:05 AM, Jon Olav Vik jono...@gmail.com wrote: I'm trying to make a big plot with smaller insets. I would like to specify the new axis rectangle in terms of data coordinates from the original plot. This page mentions an .xy_tup() method of Transform objects:

Re: [Matplotlib-users] [ matplotlib-Bugs-2949906 ] finance.quotes_historical_yahoo raises ZeroDivisionError

2010-06-08 Thread John Hunter
=detailatid=560720aid=2949906group_id=80706 Category: None Group: None Status: Closed Resolution: Duplicate Priority: 5 Private: No Submitted By: David Goldsmith (olydlg) Assigned to: John Hunter (jdh2358) Summary: finance.quotes_historical_yahoo raises ZeroDivisionError Comment By: John

Re: [Matplotlib-users] Animated Line2D

2010-06-07 Thread John Hunter
On Mon, Jun 7, 2010 at 10:14 AM, Nie, Jinsuo j...@bnl.gov wrote: I modified the path_editor.py example in order to make a line editor, as attached.  However, the line is not animated even the line has been correctly updated.  It seems canvas.blit is not functioning correctly in

Re: [Matplotlib-users] Link from matplotlib webpage hijacked

2010-06-04 Thread John Hunter
On Fri, Jun 4, 2010 at 3:21 AM, Eric Firing efir...@hawaii.edu wrote: On 05/25/2010 11:44 AM, Kaushik Ghose wrote: Hi Gang, I don't know if it is a problem from nabble, but the 'archives' link from the main matplotlib pages goes to a decidedly non-matplotlib page. The link is

Re: [Matplotlib-users] Link from matplotlib webpage hijacked

2010-06-04 Thread John Hunter
On Tue, May 25, 2010 at 4:44 PM, Kaushik Ghose kaushik_gh...@hms.harvard.edu wrote: Hi Gang, I don't know if it is a problem from nabble, but the 'archives' link from the main matplotlib pages goes to a decidedly non-matplotlib page. The link is

[Matplotlib-users] ANN: matplotlib-0.99.3

2010-06-01 Thread John Hunter
We have uploaded a bugfix release of the matplotlib-0.99 branch. Source and binaries are available for download from https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.3 This release fixes many minor and at least one critical bug in our path simplification algorithm.

Re: [Matplotlib-users] ANN: matplotlib-0.99.3

2010-06-01 Thread John Hunter
On Tue, Jun 1, 2010 at 8:34 AM, Alan G Isaac alan.is...@gmail.com wrote: On 6/1/2010 9:06 AM, John Hunter wrote: For the binaries, what is the recommended NumPy version? I assume the current release (1.4.1)? Are you on windows? The windows binaries are build against numpy 1.3.0 so any

Re: [Matplotlib-users] Matplotlib 0.99.3 win32 py2.6 crashes on import

2010-05-31 Thread John Hunter
On Mon, May 31, 2010 at 7:56 PM, Christoph Gohlke cgoh...@uci.edu wrote: John: I rebuilt the 32 bit binaries for Python 2.5 and 2.6 against numpy 1.3.0. They do also work with numpy 1.4.1. Please consider uploading these binaries to the SF site. I also noticced that the eggs on the SF download

Re: [Matplotlib-users] Compiling matplotlib against 64 bit python 2.6 on OSX Snow Leopard

2010-05-26 Thread John Hunter
On Wed, May 26, 2010 at 5:18 AM, Pim Schellart p.schell...@gmail.com wrote: Hi John and George, I did of course rtfm :) However when I do this for the latest svn checkout I get: matplotlib $ PREFIX=/usr/local sudo make -f make.osx fetch deps mpl_install Password: python2.6 -c 'import

Re: [Matplotlib-users] Compiling matplotlib against 64 bit python 2.6 on OSX Snow Leopard

2010-05-26 Thread John Hunter
On Wed, May 26, 2010 at 10:47 AM, Pim Schellart p.schell...@gmail.com wrote: Dear John and George, I am happy to report that everything is now working! The latest SVN patch fixed the fetch problem and a complete removal of my custom compiled libpng and libfreetype2 followed by: sudo make -f

Re: [Matplotlib-users] Show() in emacs

2010-05-26 Thread John Hunter
On Tue, May 25, 2010 at 10:40 PM, Ted Rosenbaum ted.rosenb...@yale.edu wrote: Hi, I am a real newbie at matplotlib, so I apologize if this is an obvious question. I am running ipython in emacs and while the first time I use the show() command in the ipython buffer the graph shows up fine,

Re: [Matplotlib-users] How to have few marks on the lines?

2010-05-25 Thread John Hunter
On Tue, May 25, 2010 at 6:46 AM, Omer Khalid omer.kha...@cern.ch wrote: Hi Jae, Thanks for your reply and letting me know about this. Can you please point me to some code example? In [226]: t = np.arange(0, 2, 0.05) In [227]: s = np.sin(2*np.pi*t) In [228]: plot(t, s, '-') Out[228]:

Re: [Matplotlib-users] Clearing A Figure (I Know That This Has Been Posted Before But I Does Not Work For Me)

2010-05-25 Thread John Hunter
On Tue, May 25, 2010 at 4:08 AM, Thistleryver mhar...@ec.auckland.ac.nz wrote: I am attempting to run a lot of tests automatically and generate a graph for each one.  However, at the moment, the previous graph remains on the figure and the next plot is drawn over it. I have read extensively

Re: [Matplotlib-users] Compiling matplotlib against 64 bit python 2.6 on OSX Snow Leopard

2010-05-25 Thread John Hunter
On Tue, May 25, 2010 at 10:10 AM, George Nurser gnur...@gmail.com wrote: Hi, Installing pkg-config sorted things out for me. http://pkgconfig.freedesktop.org/releases/pkg-config-0.23.tar.gz Also, you may want to try the make.osx script which lives beside setup.py. See the associated

Re: [Matplotlib-users] Compiling matplotlib against 64 bit python 2.6 on OSX Snow Leopard

2010-05-25 Thread John Hunter
On Tue, May 25, 2010 at 10:45 AM, Pim Schellart p.schell...@gmail.com wrote: Hi John and George, I tried both and although it now seems to find the libraries it still fails to link something. matplotlib-0.99.1.1 $ sudo python setup.py install According to the README I pointed you too, this

Re: [Matplotlib-users] How to remove an element from a graph?

2010-05-18 Thread John Hunter
On Tue, May 18, 2010 at 12:58 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: All the artists that are drawn are kept in the figure instance, so you can inspect the figure instance. And you may use findobj for that if you want. On the other hand, Axes.texts keeps a list of text instances in the

Re: [Matplotlib-users] Licence Question

2010-05-17 Thread John Hunter
On Mon, May 17, 2010 at 8:28 AM, Craig Lyndon c.a.lyn...@gmail.com wrote: Hi All, Im new to matplotlib, and I love it, but I have a question about the Licence agreement. I am wanting to develop a commercial closed source application for my company using python and matplotlib. I have tried

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 48, Issue 23

2010-05-17 Thread John Hunter
Wingware is only example that commerciale soft can not solve this problem never, What does matplotlib.get_backend() report? According to http://www.wingware.com/doc/howtos/matplotlib they are assuming TkAgg. You may also want to read the suggestions at

Re: [Matplotlib-users] Problem with figure sizes using Qt4Agg

2010-05-03 Thread John Hunter
On Mon, May 3, 2010 at 4:02 PM, Darren Dale dsdal...@gmail.com wrote: On Sun, Apr 18, 2010 at 12:55 PM, Gökhan Sever gokhanse...@gmail.com wrote: On Sun, Apr 18, 2010 at 11:47 AM, Darren Dale dsdal...@gmail.com wrote: On Tue, Apr 13, 2010 at 8:14 PM, Gökhan Sever gokhanse...@gmail.com

Re: [Matplotlib-users] Can't turn-off ticks when sharing axis

2010-04-22 Thread John Hunter
On Apr 22, 2010, at 12:28 PM, Gökhan Sever gokhanse...@gmail.com wrote: Hello, Consider my simple test case: import matplotlib.pyplot as plt fp = plt.figure() ax1 = fp.add_subplot(4,1,1) ax1.plot(range(10)) ax2 = fp.add_subplot(4,1,2) ax2.plot(range(10))

Re: [Matplotlib-users] matplotlib colors vs html colors

2010-04-14 Thread John Hunter
On Wed, Apr 14, 2010 at 2:14 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: John, the relevant code to define the colors attribute seems to be written by you. Maybe this is some matlab convention? Can you comment on this? The original color letters did come from matlab, and some of the color

[Matplotlib-users] schematic diagrams - fancy boxes, packers and arrows

2010-04-11 Thread John Hunter
This is mainly a question for JJ. I would like to make a schematic diagram, like you might get from Dia or OmniGraffle. With the offset boxes, annotations, vpackers/hpackers and fancy arrows, it seems like the pieces are mostly in place. Unlike simple annotations, I need to have multiple arrows

Re: [Matplotlib-users] skipping mpl-axes-interaction during key_press_event's

2010-03-17 Thread John Hunter
On Wed, Mar 17, 2010 at 4:10 AM, Matthias Michler matthiasmich...@gmx.net wrote: once more I'd like to ask for comments about my feature request and proposed patch. Should I post it at the 'feature request' or  'patch' tracker? Thanks in advance for any comments. Hey Matthias -- This should

Re: [Matplotlib-users] Alpha compositing of ~60000 line plots takes forever

2010-03-16 Thread John Hunter
On Tue, Mar 16, 2010 at 8:46 AM, Jon Olav Vik jono...@gmail.com wrote: Thank you, thank you, thank you. This is just as convenient, 50% faster even for 1000 series, and runtime does indeed scale as O(n) up to 1 series. The projected speedup for 6 series was 40x. However, in my

Re: [Matplotlib-users] Agg complexity exceeded

2010-03-12 Thread John Hunter
On Fri, Mar 12, 2010 at 8:30 AM, Tornes, Ivan E torn...@battelle.org wrote: I’m working on a project that handles large data sets.  Up to this point I had not had any issues using matplotlib, but I tried yesterday to have it plot a file that had 8 million float,float pairs in it and dies with

Re: [Matplotlib-users] Agg complexity exceeded

2010-03-12 Thread John Hunter
Note that there is a significant bug in the path.simplify code in the latest released version that is fixed in svn. The simplification should not be visible to the human eye. Please try the release candidate at http://drop.io/xortel1# if you don't have access to svn JDH On Fri, Mar 12,

[Matplotlib-users] matplotlib 0.99.3rc1 release candidate for testing

2010-03-09 Thread John Hunter
I have uploaded the src and some binaries for the matplotlib 0.99.3 (stable branch) release candidate rc1 . This is a bugfix release that contains at least one critical bugfix (the path.simplify bug) and numerous other small fixes. I built the OSX binaries on a 64 bit 10.6 python2.6 machine so I

Re: [Matplotlib-users] Bug: string.letters

2010-03-09 Thread John Hunter
On Tue, Mar 9, 2010 at 12:16 PM, Eric Firing efir...@hawaii.edu wrote: Bizarre!  I can reproduce it with python 2.6 (ubuntu 9.10) and mpl from svn.  I have done a little grepping and other exploration, but have completely failed to find where this change is occurring. cbook imports locale

Re: [Matplotlib-users] embedding a plot function in existing wxapp GUI, problem replotting

2010-03-09 Thread John Hunter
On Tue, Mar 9, 2010 at 1:23 PM, Chris Barker chris.bar...@noaa.gov wrote: Pribadi, Krishna wrote: Based on what I’ve been reading regarding MPL, it seems that the matplotlib show() function causes another instance of a GUI loop to remain suspended. right --don't use show(), in fact, don't

Re: [Matplotlib-users] embedding a plot function in existing wxapp GUI, problem replotting

2010-03-09 Thread John Hunter
On Tue, Mar 9, 2010 at 1:49 PM, Pribadi, Krishna krishna.prib...@harley-davidson.com wrote: I know it's badly out of date... I'd like to embed it but I'm not quite sure where to begin... Do you think a simple solution like calling it from the system command line will open the plot in a new

Re: [Matplotlib-users] Artist tutorial different response

2010-03-03 Thread John Hunter
On Wed, Mar 3, 2010 at 9:56 AM, Matthias Michler matthiasmich...@gmx.net wrote: I attached a patch with modified documentation and further replacements of 'get_bounds' in current svn. Could any of the developers have a look at it and commit these changes or should a post the patch at the

<    1   2   3   4   5   6   7   8   9   10   >