Re: [matplotlib-devel] 0.99.1 and the setup.cfg file

2009-09-23 Thread John Hunter
On Wed, Sep 23, 2009 at 8:47 AM, Lev Givon l...@columbia.edu wrote: contain a setup.cfg file: $ tar zft matplotlib-0.99.1.tar.gz |grep setup.cfg matplotlib-0.99.1/setup.cfg matplotlib-0.99.1/setup.cfg.template It seems to depend on which mirror you get the file from. From Voxel, I see

Re: [matplotlib-devel] Comparing pdf output in tests

2009-09-23 Thread John Hunter
On Wed, Sep 23, 2009 at 10:48 AM, Jouni K. Seppänen j...@iki.fi wrote: Andrew Straw straw...@astraw.com writes: Jouni - I don't think this would be hard to add, but I'm swamped at work. If this is an itch you'd like to scratch, feel free to hack away on the image_comparison() function in

Re: [matplotlib-devel] Comparing pdf output in tests

2009-09-23 Thread John Hunter
On Wed, Sep 23, 2009 at 12:42 PM, Andrew Straw straw...@astraw.com wrote: Sorry, I should have been more clear. I was thinking that the image_compare() decorator would call the test function multiple times, having switched the backend between invocations. Thus, the call to savefig() would

Re: [matplotlib-devel] Comparing pdf output in tests

2009-09-23 Thread John Hunter
On Wed, Sep 23, 2009 at 12:56 PM, Andrew Straw straw...@astraw.com wrote: John Hunter wrote: On Wed, Sep 23, 2009 at 12:42 PM, Andrew Straw straw...@astraw.com wrote: Sorry, I should have been more clear. I was thinking that the image_compare() decorator would call the test function multiple

[matplotlib-devel] Fwd: OS X 10.6 port

2009-09-28 Thread John Hunter
in case anyone has some suggestions, I'm forwarding this from the sage list -- Forwarded message -- From: William Stein wst...@gmail.com Date: Sun, Sep 27, 2009 at 10:51 PM Subject: OS X 10.6 port To: sage-devel sage-de...@googlegroups.com, John Hunter jdh2...@gmail.com Hi, I

Re: [matplotlib-devel] [sage-devel] OS X 10.6 port

2009-09-28 Thread John Hunter
On Mon, Sep 28, 2009 at 4:47 AM, Dr. David Kirkby david.kir...@onetel.net wrote: William Stein wrote: Hi, I spent several hours yesterday trying to get matplotlib for Sage to work on OS X 10.6.  On my laptop everything works perfectly, but on another test machine (bsd.math) the workaround

Re: [matplotlib-devel] [sage-devel] OS X 10.6 port

2009-09-28 Thread John Hunter
On Mon, Sep 28, 2009 at 11:14 AM, John Hunter jdh2...@gmail.com wrote: But even simple tests are failing with:: jdh2...@bsd:~ LD_LIBRARY_PATH=~/devtest/lib/ PYTHONPATH=~/devtest/lib/python2.6/site-packages/ /usr/bin/python -c 'import matplotlib; matplotlib.use(Agg); from matplotlib.pyplot

Re: [matplotlib-devel] Comparing pdf output in tests

2009-10-05 Thread John Hunter
On Fri, Oct 2, 2009 at 12:27 AM, Andrew Straw straw...@astraw.com wrote: I just installed gs on one of the buildbots -- so at least the .pdf generation should get tested on one machine. (The one running the py24 and py25 tests.) The OSX build bot has been down ever since the build machine was

Re: [matplotlib-devel] AutoDateFormatter/AutoDateLocator

2009-10-14 Thread John Hunter
On Wed, Oct 14, 2009 at 2:16 PM, Ryan May rma...@gmail.com wrote: Hi, Anybody know what the status of AutoDateLocator/AutoDateFormatter in matplotlib.dates are?  They work and seem reasonably well documented. However, they do not show up in our online docs:

Re: [matplotlib-devel] AutoDateFormatter/AutoDateLocator

2009-10-14 Thread John Hunter
On Wed, Oct 14, 2009 at 3:47 PM, Ryan May rma...@gmail.com wrote: On Wed, Oct 14, 2009 at 3:08 PM, John Hunter jdh2...@gmail.com wrote: Most likely this is just due to an oversight in the __all__ so just add it there in the branch and it should get picked up next time we build the docs Done

Re: [matplotlib-devel] [Matplotlib-users] Source tarball should not include setup.cfg (was: 0.99.1.1 build attempts to import non-existing wx)

2009-10-28 Thread John Hunter
On Wed, Oct 28, 2009 at 1:09 AM, Jouni K. Seppänen j...@iki.fi wrote: This is because the distribution includes a setup.cfg file by mistake. Deleting setup.cfg should allow the autodetection logic to disable building wxagg. This is bug #2871530 on Sourceforge:

Re: [matplotlib-devel] Layout of subplots in output

2009-11-01 Thread John Hunter
2009/11/1 Stéfan van der Walt ste...@sun.ac.za: 2009/10/31 Eric Firing efir...@hawaii.edu: You forgot the attachment. I hate it when that happens -- here it is! Hey Stéfan, To avoid the overlap on the titles and ticks, you will want to play with the font size of the ticks and title, but most

Re: [matplotlib-devel] Closing paths in PolyCollection

2009-11-03 Thread John Hunter
On Mon, Nov 2, 2009 at 4:59 PM, Matthew West mw...@illinois.edu wrote: Hi, The PolyCollection class currently closes the path for each polygon by adding a last point the same as the first point. This means that the line joins will be different on this point. I've submitted a patch to make

Re: [matplotlib-devel] Layout of subplots in output

2009-11-03 Thread John Hunter
2009/11/3 Stéfan van der Walt ste...@sun.ac.za: Hi JJ 2009/11/2 Jae-Joon Lee lee.j.j...@gmail.com: I now think this is not the dpi issue. Can you check the size of your figure in mac os X backend, after the plot is drawn? print f.get_size_inches() 8x6 inch is the default. It says [4,

Re: [matplotlib-devel] imshow zorder (patch for review)

2009-11-09 Thread John Hunter
On Mon, Nov 9, 2009 at 10:21 AM, Andrew Straw straw...@astraw.com wrote: Hi All, I have addressed what I think is a long-standing wart: zorder is mostly ignored for imshow(). (See e.g. http://old.nabble.com/Re%3A--Matplotlib-users--imshow-zorder-tt19047314.html#a19047314 ) The question is

Re: [matplotlib-devel] imshow zorder (patch for review)

2009-11-09 Thread John Hunter
On Mon, Nov 9, 2009 at 12:12 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: On Mon, Nov 9, 2009 at 1:01 PM, John Hunter jdh2...@gmail.com wrote: Your patch is only applied when len(images)=1 or renderer.option_image_nocomposite(), both of which will be False when using Agg with multiple images

Re: [matplotlib-devel] imshow zorder (patch for review)

2009-11-09 Thread John Hunter
On Mon, Nov 9, 2009 at 12:16 PM, Andrew Straw straw...@astraw.com wrote: So now the question for me is what is this option_image_nocomposite is so that I can generalize the patch to both when it's True and False. From the The compositing is in support of things like

Re: [matplotlib-devel] Failed build: src/_macosx.m:1:25: error: Cocoa/Cocoa.h: No such file or directory

2009-11-09 Thread John Hunter
On Mon, Nov 9, 2009 at 1:29 PM, Leonid Petrov m...@lpetrov.net wrote: Hi, matplotlibers,  I tried to compile matplotlib0.99.1.1 against Python-2.6.4, numpy-1.3.0, libpng-1.2.40, freetype-2.3.11 with the following command: python setup.py install --prefix=/opt64 comp.log  I got building

Re: [matplotlib-devel] Failed build: src/_macosx.m:1:25: error: Cocoa/Cocoa.h: No such file or directory

2009-11-09 Thread John Hunter
On Mon, Nov 9, 2009 at 3:08 PM, Leonid Petrov m...@lpetrov.net wrote: Hi, John,  I got mpl from http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/matplotlib-0.99.1.1.tar.gz/download /d1/incoming md5sum matplotlib-0.99.1.1.tar.gz bd0894dd924eb5bec84c42d26041a544  

Re: [matplotlib-devel] 3D Axes scatter : no possibility to vary color/size of markers

2009-11-19 Thread John Hunter
On Thu, Nov 19, 2009 at 6:02 AM, Ensitof ensieta.le...@gmail.com wrote: I got the same problem and posted my question in this forum http://www.developpez.net/forums/d836964/autres-langages/python-zope/calcul-scientifique/matplotlib-scatter3d-colorisation-fonction-z/ (here)  a few days ago...

Re: [matplotlib-devel] [PATCH] experimental numscons support in matplotlib

2009-11-25 Thread John Hunter
On Wed, Nov 25, 2009 at 10:52 AM, Andrew Straw straw...@astraw.com wrote: Also, would you like svn commit access? That may just make things easier -- John, what do you think? I think we can trust David. :) Absolutely -- send me an svn login and I can add him to the list of committers if he

Re: [matplotlib-devel] [PATCH] experimental numscons support in matplotlib

2009-11-25 Thread John Hunter
On Wed, Nov 25, 2009 at 10:57 AM, John Hunter jdh2...@gmail.com wrote: On Wed, Nov 25, 2009 at 10:52 AM, Andrew Straw straw...@astraw.com wrote: Also, would you like svn commit access? That may just make things easier -- John, what do you think? I think we can trust David. :) Absolutely

Re: [matplotlib-devel] Z-Order Sorting

2009-12-01 Thread John Hunter
On Tue, Dec 1, 2009 at 6:21 PM, Eric Firing efir...@hawaii.edu wrote: This is easy to fix by using the key kwarg (added in python 2.4) of the sort method, because python uses a stable sort.  It looks like it only needs to be fixed in Axes.draw, because Figure.draw has never paid any attention

[matplotlib-devel] matplotlib book -- free copy for developers

2009-12-16 Thread John Hunter
Packt is offering a free copy of Sandro Tosi's new book Matplotlib for Python Developers to matplotlib developers, and has generously offered to donate 2% of book sales to the mpl project. If you are an svn committer and would like a copy of the book, send me your name and shipping address

Re: [matplotlib-devel] notes on Windows 7 cygwin 1.7 installation

2009-12-21 Thread John Hunter
On Sun, Dec 20, 2009 at 4:19 PM, Glen Nixon glen.ni...@gmail.com wrote: Hi all.  With some effort, I've managed to get matplotlib-0.99.1.1 with cygwin 1.7 (beta) on Windows 7.  Since Google didn't turn up any instructions specifically addressing the problems I had, maybe these notes will be

Re: [matplotlib-devel] auto range limits for spines: please kick the tires

2009-12-21 Thread John Hunter
On Mon, Dec 21, 2009 at 3:46 PM, Andrew Straw straw...@astraw.com wrote: John also suggested something like this. I don't think it's impossible, but it's outside the scope of the work I have done and beyond my immediate familiarity with the code base. I think it would involve looking at the

Re: [matplotlib-devel] doc build problem with axes_grid

2010-01-03 Thread John Hunter
On Sat, Jan 2, 2010 at 12:34 AM, Eric Firing efir...@hawaii.edu wrote: Jae-Joon Lee wrote: The error happens because of the *.rst files under doc/examples that are not in sync with examples/*.py. Removing that directory (doc/examples) will solve the problem (the directory will be repopulated

Re: [matplotlib-devel] Enhancement to matplotlib's PyQt4 backend

2010-01-03 Thread John Hunter
On Sun, Jan 3, 2010 at 2:41 PM, Gökhan Sever gokhanse...@gmail.com wrote: You seemed like forgetting to check-in the qt4_editor_options.svg, because I get file not found error: I[2]: Cannot open file '.../matplotlib/lib/matplotlib/mpl-data/images/qt4_editor_options.svg', because: No such

Re: [matplotlib-devel] [Matplotlib-users] define color cycle in matplotlibrc

2010-01-03 Thread John Hunter
On Sun, Jan 3, 2010 at 2:39 PM, Eric Firing efir...@hawaii.edu wrote: 1) Should the the color_cycle be in the axes group?  Although it affects lines, it is defined only at the Axes level, and affects only lines drawn by plot. Alternative: since it affects only plot, should there be a new plot

Re: [matplotlib-devel] [Matplotlib-users] define color cycle in matplotlibrc

2010-01-03 Thread John Hunter
On Sun, Jan 3, 2010 at 3:54 PM, Eric Firing efir...@hawaii.edu wrote: The only problem is that lines.color is the default for LineCollection and Line2D, both of which are fairly separate from Axes, so having them default to rcParams['axes.color_cycle'][0] seems a little odd. Yes, I was

Re: [matplotlib-devel] Enhancement to matplotlib's PyQt4 backend

2010-01-11 Thread John Hunter
On Mon, Jan 11, 2010 at 11:53 AM, Gökhan Sever gokhanse...@gmail.com wrote: On Mon, Jan 11, 2010 at 11:09 AM, Pierre Raybaut cont...@pythonxy.com wrote: John, Following to your last commit on added qt4_editor dialog (rev 8064), here is a significant (but simple) improvement adding an

[matplotlib-devel] problems with svnmerge

2010-02-08 Thread John Hunter
I just committed Ariel's csd changes to the 99 branch, and when I attempted to merge I first got a failure and now the branch is not showing up in the available branches. Any ideas? The branch was listed on a 'svnmerge.py merge' command *before* the failure. jdhun...@uqbar:mpl svnmerge.py

Re: [matplotlib-devel] Spelling errors in the documentation

2010-02-16 Thread John Hunter
On Tue, Feb 16, 2010 at 3:51 AM, Philipp Bender li...@rootiniert.de wrote: Hi, because Wayne Watson complained in -users repeatedly about spelling errors without fixing or really pointing us to them I tried to find some in the chapter he mentioned and fixed them. Because I am not a native

Re: [matplotlib-devel] An easier way to create figure and group of axes; useful?

2010-02-17 Thread John Hunter
On Wed, Feb 17, 2010 at 8:29 PM, Fernando Perez fperez@gmail.com wrote: On Wed, Feb 17, 2010 at 7:27 PM, David Warde-Farley d...@cs.toronto.edu wrote: An effusive yes, yes, good god yes! from this mpl-devel lurker. Thanks, that's two good pluses. Any suggestions on name changes, or

Re: [matplotlib-devel] An easier way to create figure and group of axes; useful?

2010-02-18 Thread John Hunter
On Wed, Feb 17, 2010 at 10:50 PM, Fernando Perez fperez@gmail.com wrote: This is a worthy goal.    One use case I would like to see supported is the sharex/sharey args:: Sheesh, some people really want everything :) Yes, you should know better by now than to propose a minor

Re: [matplotlib-devel] patch submission - rectangle selector button select

2010-02-23 Thread John Hunter
On Tue, Feb 23, 2010 at 10:22 AM, Ben Axelrod baxel...@coroware.com wrote: Here is a patch for a new feature for the rectangle selector.  it allows the user to specify which mouse button or buttons to use for the rectangle selection.  Also included in the diff is a one line change to the

Re: [matplotlib-devel] git migration

2010-03-03 Thread John Hunter
On Tue, Mar 2, 2010 at 11:41 PM, Eric Firing efir...@hawaii.edu wrote: Andrew Straw wrote: [...] This is a good point. My preferred option is that we jettison all the stuff that is not going to be shipped with MPL 1.0 from the git repo. (More correctly - we build a git repo without that stuff

Re: [matplotlib-devel] git migration

2010-03-03 Thread John Hunter
On Wed, Mar 3, 2010 at 8:29 AM, william ratcliff william.ratcl...@gmail.com wrote: I don't want to get into a flame war over this, but if Sourceforge was pressured into this and is having complaints and google has the same problem, how does Github get around it?  Are they incorporated in the US

Re: [matplotlib-devel] favicon submission

2010-03-03 Thread John Hunter
On Wed, Mar 3, 2010 at 9:33 AM, Ben Axelrod baxel...@coroware.com wrote: I am a big fan of favicons.  I think MPL should definitely have one for the impending 1.0 release.  So I made one for you. To use, simply place this file in the top level web directory.  That is usually all that is

Re: [matplotlib-devel] favicon submission

2010-03-03 Thread John Hunter
On Wed, Mar 3, 2010 at 11:16 AM, John Hunter jdh2...@gmail.com wrote: On Wed, Mar 3, 2010 at 9:33 AM, Ben Axelrod baxel...@coroware.com wrote: I am a big fan of favicons.  I think MPL should definitely have one for the impending 1.0 release.  So I made one for you. To use, simply place

Re: [matplotlib-devel] Bug in julian2num()/num2julian()?

2010-03-04 Thread John Hunter
2010/3/4 Günter Lichtenberg guenter.lichtenb...@dlr.de: Hi I think there is a bug in the conversion routines jul2num() and num2jul(). I tried to define a date axis for satellite data. The time is measured in a modified Julian Date (JD). So reading in the data and then doing Hi Günter,

Re: [matplotlib-devel] Contouring unstructured triangular grids

2010-03-15 Thread John Hunter
On Mon, Mar 15, 2010 at 12:37 PM, Ian Thomas ianthoma...@googlemail.com wrote: Before going ahead with this I wished to ascertain how much interest there was for this functionality as I don't want to spend time doing something that isn't wanted or needed. I'm definitely interested, but I

Re: [matplotlib-devel] Proposal for Broken Axes

2010-03-15 Thread John Hunter
On Mon, Mar 15, 2010 at 3:16 PM, klukas klu...@wisc.edu wrote: It's my understanding that there is no built-in method for generating a broken axis (where you skip over some range of values, indicating this with some graphical mark).  I wanted to do this, so I've put together a function which

Re: [matplotlib-devel] An easier way to create figure and group of axes; useful?

2010-03-18 Thread John Hunter
On Thu, Mar 18, 2010 at 1:38 PM, Christopher Barker chris.bar...@noaa.gov wrote: I think the only two options should be scalar or 2-d array, it seems a bit much to have a 1-d array option as well. I disagree here -- if you are 2,1 or 1,2 rows x cols, 1D indexing is natural. This is also the

Re: [matplotlib-devel] An easier way to create figure and group of axes; useful?

2010-03-18 Thread John Hunter
On Thu, Mar 18, 2010 at 2:24 PM, Christopher Barker chris.bar...@noaa.gov wrote: John Hunter wrote: I think the only two options should be scalar or 2-d array, it seems a bit much to have a 1-d array option as well. I disagree here -- if you are 2,1 or 1,2 rows x cols, 1D indexing is natural

Re: [matplotlib-devel] An easier way to create figure and group of axes; useful?

2010-03-18 Thread John Hunter
On Thu, Mar 18, 2010 at 7:46 PM, Fernando Perez fperez@gmail.com wrote: On Thu, Mar 18, 2010 at 3:49 PM, Christopher Barker chris.bar...@noaa.gov wrote: Good solution, and thanks for working on this! Thanks. I have one more question on this feature.  I personally think that this

Re: [matplotlib-devel] An easier way to create figure and group of axes; useful?

2010-03-22 Thread John Hunter
On Mon, Mar 22, 2010 at 11:50 AM, Jörgen Stenarson jorgen.stenar...@bostream.nu wrote: Would it be possible to put the draw in the ipython_prompt hook. That way it is always called after you have done something. I like this approach better, because one problem with doing it in the mpl Artist

Re: [matplotlib-devel] New generic timers

2010-04-20 Thread John Hunter
On Tue, Apr 20, 2010 at 3:26 PM, Ryan May rma...@gmail.com wrote: Hi, Continuing the spurt of (independent) development that's been going on lately, I committed support for generic timers. There's a base class TimerBase that provides the basic API for a timer (start, stop, controlling the

Re: [matplotlib-devel] Upcoming Debian stable release and matplotlib new release(s)

2010-04-23 Thread John Hunter
On Thu, Apr 22, 2010 at 4:40 PM, Sandro Tosi mo...@debian.org wrote: Hello all, in some time (let's say a couple of months, maybe more) Debian will enter the freeze period, where no new upstream releases are accepted, in order to prepare the best stable release we can :) In the past months I

Re: [matplotlib-devel] amplitude of peaks not shown correctly

2010-04-26 Thread John Hunter
On Sun, Apr 25, 2010 at 1:09 PM, Miguel de Val Borro miguel.de...@gmail.com wrote: Hello, The amplitude of sharp peaks is not shown correctly when several plots are stitched together and the x scale becomes very large.  I have noticed this problem with the pdf and png backends in the attached

Re: [matplotlib-devel] Axis children exclude offset text

2010-05-19 Thread John Hunter
On Wed, May 19, 2010 at 11:29 AM, Stan West stan.w...@nrl.navy.mil wrote: Hi, developers. While trying to set the properties of all text in a figure, I noticed that the offset text of each axis was not being returned by get_children(), so the offset text wasn't receiving the new properties. I

Re: [matplotlib-devel] Removing lines leaks memory

2010-05-28 Thread John Hunter
On Fri, May 28, 2010 at 3:18 AM, Pearu Peterson pe...@cens.ioc.ee wrote: Hi, In an application that updates a plot with new experimental data, say, every second and the experiment can last hours, I have tried two approaches: 1) clear axes and plot new experimental data - this is slow and

Re: [matplotlib-devel] Removing lines leaks memory

2010-05-28 Thread John Hunter
On Fri, May 28, 2010 at 1:04 PM, Pearu Peterson pe...@cens.ioc.ee wrote: Regarding reusing existing line --- I have understood that this will work only if the length of the line data does not change. This is not correct -- you can change the line length with calls to set_data In my case the

Re: [matplotlib-devel] Removing lines leaks memory

2010-05-28 Thread John Hunter
On Fri, May 28, 2010 at 1:37 PM, Pearu Peterson pe...@cens.ioc.ee wrote: While the new data is plotted correctly, the plot shows fixed axes from the first plot call. What I am doing wrong? ax.relim() causes the data limits to be updated based on the current objects it contains,

Re: [matplotlib-devel] Upcoming Debian stable release and matplotlib new release(s)

2010-05-30 Thread John Hunter
On Sun, May 30, 2010 at 5:18 AM, Jouni K. Seppänen j...@iki.fi wrote: I agree that there should be a release before the transition. I was initially reluctant to do a release before the transition because of the get_sample_data issue. I was worried that some 1.x releases would point to the sf

Re: [matplotlib-devel] Upcoming Debian stable release and matplotlib new release(s)

2010-05-30 Thread John Hunter
On Sun, May 30, 2010 at 12:05 PM, Eric Firing efir...@hawaii.edu wrote: Do you have in mind a dual release--maintenance branch and trunk--or is v0_99_maint abandoned with no release?  Another option would be to make a 99 release ASAP and delay the 1.0. I do want to put out one last maintenance

Re: [matplotlib-devel] Passing errorbar width arguments to bar/barh ?

2010-06-02 Thread John Hunter
On Wed, Jun 2, 2010 at 8:01 AM, John Hunter jdh2...@gmail.com wrote: While this is certainly a bug that needs to be fixed (and Eric is right that these functions are heavily overworked and hairy), there is a better workaround than the one you tried.  From the errorbar docstring: Ignore me

Re: [matplotlib-devel] Passing errorbar width arguments to bar/barh ?

2010-06-02 Thread John Hunter
On Wed, Jun 2, 2010 at 9:48 AM, Benjamin Root ben.r...@ou.edu wrote: I am curious as to why bar() should even be acting like errorbar().  As a user, I would expect bar() to do bar graphs and errorbar() to do error bar graphs.  Is there some sort of use-case that I am missing where it makes

Re: [matplotlib-devel] RuntimeError: Could not open facefile

2010-06-03 Thread John Hunter
On Thu, Jun 3, 2010 at 2:41 PM, Benjamin Root ben.r...@ou.edu wrote: Hello, I am getting this runtime error for some of my plotting scripts ever since I did a clean build and install of matplotlib from the svn repo: [snip] File

Re: [matplotlib-devel] Building matplotlib on OS X

2010-06-07 Thread John Hunter
On Mon, Jun 7, 2010 at 10:26 AM, Michael Hearne mhea...@usgs.gov wrote: I've had several problems with building on OS X in the past, and was just notified that a bug I opened about it has closed.  Eric Firing suggested that I re-open the bug if it is still a problem.  It is still a problem,

Re: [matplotlib-devel] Building matplotlib on OS X

2010-06-07 Thread John Hunter
On Mon, Jun 7, 2010 at 4:13 PM, Michael Hearne mhea...@usgs.gov wrote: John - I followed your advice, and tried the build/install step again after downloading a completely fresh svn copy of the source: svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib

Re: [matplotlib-devel] Building matplotlib on OS X

2010-06-08 Thread John Hunter
On Tue, Jun 8, 2010 at 2:49 PM, Friedrich Romstedt friedrichromst...@gmail.com wrote: Hi Michael, may it be that you used different compilers for compiling your FreeType2 and your matplotlib?  [CC=gcc-4.2]  It's nearly impossible to tell afterwards from the libraries. I was able to compile

Re: [matplotlib-devel] savefig options doc inconsistency

2010-06-09 Thread John Hunter
On Wed, Jun 9, 2010 at 8:17 PM, Jason Grout jason-s...@creativetrax.com wrote: In the call signature of savefig found here: http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.savefig it doesn't list the bbox_inches and pad_inches options, though they are listed in the

Re: [matplotlib-devel] repeated calls to show() are now OK?

2010-06-11 Thread John Hunter
On Fri, Jun 11, 2010 at 2:56 PM, Eric Firing efir...@hawaii.edu wrote: Is it time for us to change our documentation, and officially support the use of multiple calls to show()?  If we can do it, I think it would remove one of the main stumbling blocks for newcomers. I don't have a problem

Re: [matplotlib-devel] web gui

2010-06-17 Thread John Hunter
On Wed, Jun 16, 2010 at 6:33 PM, william ratcliff william.ratcl...@gmail.com wrote: I have a student here trying to make a webapp for data reduction.  To add interactivity, we've been using the FLOT package, and may later consider protovis.  We had thought about making a javascript backend for

Re: [matplotlib-devel] doc build failure

2010-06-29 Thread John Hunter
On Jun 29, 2010, at 5:08 PM, Andrew Straw straw...@astraw.com wrote: John Hunter wrote: On Sun, Jun 20, 2010 at 7:56 PM, However, the link to trunk-docs still does not work. http://matplotlib.sourceforge.net/trunk-docs/ I believe I fixed the issue in svn r8477. Now, to fix

Re: [matplotlib-devel] should set_xlim turn off x autoscaling?

2010-06-29 Thread John Hunter
On Tue, Jun 29, 2010 at 8:42 PM, Eric Firing efir...@hawaii.edu wrote: You may well be right about this.  In any case, I suspect no change will occur prior to the 1.0 release. I'm +1 on making the proposed change prior to mpl 1.0 (ie now). Call to set_xlim should turn off autoscaling for the

Re: [matplotlib-devel] Typo in mplconf

2010-07-04 Thread John Hunter
On Sun, Jul 4, 2010 at 4:46 PM, Benjamin Root ben.r...@ou.edu wrote: Hello, I came across a typo in mplconfig.py that results in an error when processing the matplotlib configurations.  Attached is a patch. I can apply this patch because it is a simple fix, but the larger question is whether

Re: [matplotlib-devel] axes3d button-check fix

2010-07-04 Thread John Hunter
On Sun, Jul 4, 2010 at 4:56 PM, Benjamin Root ben.r...@ou.edu wrote: While I don't think this has caused any problems yet, I have noticed a discrepancy in how a button-click test was being done versus other checks in the same file.  It also makes more sense to check against a compiled list of

Re: [matplotlib-devel] Help with blitting bug with subplots and markers

2010-07-04 Thread John Hunter
On Sat, Jul 3, 2010 at 11:53 AM, Ryan May rma...@gmail.com wrote: On Sat, Jul 3, 2010 at 1:11 AM, Ryan May rma...@gmail.com wrote: Alright, before I go to bed, I found the following line in src/_backend_agg.cpp at line 709 (in draw_markers()) makes all the difference:

Re: [matplotlib-devel] Triplot function problems

2010-07-05 Thread John Hunter
On Mon, Jul 5, 2010 at 4:36 AM, Alberto Azevedo a...@netcabo.pt wrote: I'm really sorry for my comment, it was not my intention to offend anyone. You are absolutely right about that, therefore I would like to apologize to all developers, in particular to you, for my comment regarding the matlab

Re: [matplotlib-devel] Triplot function problems

2010-07-05 Thread John Hunter
On Mon, Jul 5, 2010 at 3:17 AM, Ian Thomas ianthoma...@googlemail.com wrote: Yes, it does indeed take a long time for large grids. The bottleneck is line 51 in lib/matplotlib/tri/triplot - I use the plot command which creates a separate Line2D object for each edge in the triangulation, and

Re: [matplotlib-devel] branching for 1.0

2010-07-06 Thread John Hunter
On Tue, Jul 6, 2010 at 9:46 AM, Michael Pearce michaelppea...@gmail.com wrote: Sorry, this is the first email I've received on the matter. I only subscribed to the list today though.\ No worries, I was referring to Michael Droettboom :-)

Re: [matplotlib-devel] branching for 1.0

2010-07-06 Thread John Hunter
On Tue, Jul 6, 2010 at 8:43 AM, John Hunter jdh2...@gmail.com wrote: On Mon, Jul 5, 2010 at 5:31 PM, John Hunter jdh2...@gmail.com wrote: If you're not available Michael, let me know or I will infer by your silence and try and make the branch myself from your instructions in the developers

Re: [matplotlib-devel] branching for 1.0

2010-07-06 Thread John Hunter
On Tue, Jul 6, 2010 at 10:34 AM, Michael Droettboom md...@stsci.edu wrote: Did you run this from a working copy of the trunk?  That worked for me. (A merge init always has a from and a to, where the to is implied by the current working copy). I believe (though a little testing) that merging

Re: [matplotlib-devel] Adding more image format support...

2010-07-06 Thread John Hunter
On Tue, Jul 6, 2010 at 2:07 PM, Michael Droettboom md...@stsci.edu wrote: We've had some requests from internal users here at STScI to make it easier to save JPEG files directly from matplotlib.  We currently support JPEG saving from the Gtk* and Wx* backends (because those libraries come with

Re: [matplotlib-devel] nasty import behavior

2010-07-08 Thread John Hunter
On Thu, Jul 8, 2010 at 9:16 AM, Neal Becker ndbeck...@gmail.com wrote: Thanks for the info, but I still think this is rude behavior for a python module, and believe it would be a good thing to fix it. Generally we try and make it easy for the user to express their intention rather than guess

Re: [matplotlib-devel] Segfault in _path.so plugin when importing matplotlib in Chaco script

2010-07-08 Thread John Hunter
On Thu, Jul 8, 2010 at 11:13 AM, Tony S Yu tsy...@gmail.com wrote: The recent nasty import behavior thread motivated me to post an issue I've been having with matplotlib and chaco. (I've posted to the Chaco list previously, without much luck.) If I import matplotlib and chaco at the same

[matplotlib-devel] dvipng error with usetex

2010-07-08 Thread John Hunter
I am not a usetex user, but in testing mpl on a linux box I got a new error for dvipng. I hadn't seen this on this box before (it used to work there) but I am not suspecting an mpl bug at this point, rather a bug on the system. I don't really know, but others have reported similar dvipng bugs

Re: [matplotlib-devel] New Animation Class

2010-07-09 Thread John Hunter
On Fri, Jul 9, 2010 at 5:22 PM, Ryan May rma...@gmail.com wrote: I've been hard at work over the last couple of months putting together a set of classes that simplifies the creation of animations in matplotlib. This started when I resurrected some old code for Very nice -- people are going to

Re: [matplotlib-devel] ContourSet not an Artist?

2010-07-09 Thread John Hunter
On Fri, Jul 9, 2010 at 9:59 PM, Eric Firing efir...@hawaii.edu wrote: On 07/09/2010 11:45 AM, Ryan May wrote: Hi, I just noticed that ContourSet only inherits ScalarMappable and ContourLabeller, neither of which is an Artist subclass, which means ContourSet is not an Artist. (And is why it

Re: [matplotlib-devel] Fwd: [Numpy-discussion] ANN: Numpy runs on Python 3

2010-07-10 Thread John Hunter
On Sat, Jul 10, 2010 at 4:13 PM, Ryan May rma...@gmail.com wrote: both, specifically check_for_tk(). Here we catch the actual exception object and use it to print an error message. If anyone has a suggestion (not print the error? Look at the exception stack?), I'd love to be able to commit

Re: [matplotlib-devel] How to exclude some examples to be built for doc?

2010-07-19 Thread John Hunter
On Mon, Jul 19, 2010 at 5:22 PM, Eric Firing efir...@hawaii.edu wrote: It would be OK to retain some examples with live downloading, but they should not be required for doc generation or for basic testing of mpl. They don't contribute anything essential to either. The primary motivation for

Re: [matplotlib-devel] question about svnmerge

2010-07-20 Thread John Hunter
Yes, but there is a *lot* more involved in making the transition than just creating a git replica of the svn trunk. Granted, and I'm probably forgetting many of them. So it is probably a good idea for us to enumerate them here as a checklist when we do migrate. The major issues I am aware of

Re: [matplotlib-devel] question about svnmerge

2010-07-21 Thread John Hunter
On Wed, Jul 21, 2010 at 5:38 AM, Andrew Straw straw...@astraw.com wrote: I should be able to handle that fairly easily. I do it for my other projects. (Bigger on my buildbot priority list is stopping the annoying occasional config directory multi-process conflict. This should just take a

Re: [matplotlib-devel] tight subplot parameters

2010-07-21 Thread John Hunter
On Wed, Jul 21, 2010 at 10:09 PM, Tony S Yu tsy...@gmail.com wrote: Wow, I don't see that at all. I'm on OS X, mpl svn HEAD (r8567), and Qt4Agg. I don't have GTK installed, so unfortunately, I can't really do a proper comparison. Here's the output I get from your modified script. I get

Re: [matplotlib-devel] tight subplot parameters

2010-07-22 Thread John Hunter
On Thu, Jul 22, 2010 at 7:40 AM, Michiel de Hoon mjldeh...@yahoo.com wrote: Is a backend required to implement a get_renderer method? I only see it implemented in backend_agg.py, and it's missing in backend_bases.py, backend_template.py, backend_cairo.py, and in the macosx backend. If you

Re: [matplotlib-devel] tight subplot parameters

2010-07-22 Thread John Hunter
On Thu, Jul 22, 2010 at 8:57 AM, Tony S Yu tsyu80@ According to backend_bases.FigureCanvas, a renderer attr is not guaranteed either. The Agg* backends rely on get_renderer so that they can get a properly sized renderer on figure resizes, dpi changes, etc.  We could handle this on the agg

Re: [matplotlib-devel] Bug in 'weights' in axes.hist

2010-07-31 Thread John Hunter
On Thu, Jul 29, 2010 at 6:17 PM, Benjamin Root ben.r...@ou.edu wrote: As a side-note, it looks like various files that have been changed due to svnmerge.py are still showing themselves as having their properties modified.  Is this ok? Yes, for some reason some of the files, like axes3d

Re: [matplotlib-devel] Toolbar Icon qt4_editor_options

2010-08-03 Thread John Hunter
On Tue, Aug 3, 2010 at 3:29 PM, Friedrich Romstedt friedrichromst...@gmail.com wrote: 2010/8/3 Sebastian Voigt sebastian.vo...@mailbox.tu-dresden.de: I've seen that NavigationToolbar2QT uses a mixture of svg and png icons. All icons except the qt4_editor_options icon are provided in svg as

Re: [matplotlib-devel] [Matplotlib-users] show() blocks script execution for TkAgg from ipython -pylab

2010-08-11 Thread John Hunter
On Wed, Aug 11, 2010 at 12:35 PM, Eric Firing efir...@hawaii.edu wrote: John et al., Is this a reasonable time to put out 1.0.1?  There have been quite a few bugfixes and other cleanups since 1.0.  Most likely the biggest problem with 1.0 is my error in the tk show(), which you tripped over,

Re: [matplotlib-devel] developer policy question

2010-08-12 Thread John Hunter
On Thu, Aug 12, 2010 at 2:34 PM, Benjamin Root ben.r...@ou.edu wrote: I am currently working to patch something in colors.py and I am coming across a lot of older style code and code that duplicates functionality that can be found in cbook.py (particularly the type-checking functions).  Is

Re: [matplotlib-devel] developer policy question

2010-08-13 Thread John Hunter
On Fri, Aug 13, 2010 at 12:53 PM, Benjamin Root ben.r...@ou.edu wrote: Where are the difference images saved to?  Or do I have to pass an option to matplotlib.test() to generate those?  I only have a directory FYI, the code is in lib/matplotlib/testing/compare.py, and the diff images on

Re: [matplotlib-devel] developer policy question

2010-08-13 Thread John Hunter
On Fri, Aug 13, 2010 at 1:26 PM, Benjamin Root ben.r...@ou.edu wrote: Found it.  It is solid black. Not quite: In [95]: im = imread('/home/titan/johnh/Downloads/failed-diff-pcolormesh.png').ravel() In [96]: im.max() Out[96]: 0.039215688 In [97]: im.min() Out[97]: 0.0

Re: [matplotlib-devel] developer policy question

2010-08-13 Thread John Hunter
On Fri, Aug 13, 2010 at 1:34 PM, John Hunter jdh2...@gmail.com wrote: On Fri, Aug 13, 2010 at 1:26 PM, Benjamin Root ben.r...@ou.edu wrote: Found it.  It is solid black. Not quite: In [95]: im = imread('/home/titan/johnh/Downloads/failed-diff-pcolormesh.png').ravel() In [96]: im.max

Re: [matplotlib-devel] OK to delete methods?

2010-08-23 Thread John Hunter
On Sat, Aug 21, 2010 at 2:08 PM, Eric Firing efir...@hawaii.edu wrote: Mike, John, or anyone else who works directly with Ticks: I think you are the only ones who have worked with the code I suggest changing as in the attached diff.  It looks to me like the three *Tick methods,

Re: [matplotlib-devel] Fwd: wrong PDF on matplotlib web site?

2010-08-25 Thread John Hunter
I've updated the PDF on the main docs page http://matplotlib.sourceforge.net/contents.html Direct link: http://matplotlib.sf.net/Matplotlib.pdf JDH On Wed, Aug 25, 2010 at 11:01 AM, Michael Droettboom md...@stsci.eduwrote: Original Message Subject: wrong PDF on

Re: [matplotlib-devel] Unblock matplotlib sourceforge?

2010-09-08 Thread John Hunter
On Wed, Sep 8, 2010 at 12:57 PM, Jouni K. Seppänen j...@iki.fi wrote: This project does NOT incorporate, access, call upon, or otherwise use encryption of any kind, including, but not limited to, open source algorithms and/or calls to encryption in the operating system or underlying platform.

Re: [matplotlib-devel] Sample data: a proposal

2010-09-12 Thread John Hunter
On Sun, Sep 12, 2010 at 10:30 AM, Andrew Straw straw...@astraw.com wrote: #1 and #2 seem reasonable to me. I don't like #3 -- for the same reasons as we want to separate the rest I agree with Andrew here -- we don't want to hamstring our ability to change the data just because some people

Re: [matplotlib-devel] [IPython-dev] IPython (new) + matplotlib report: happy news

2010-09-14 Thread John Hunter
On Mon, Sep 13, 2010 at 4:10 PM, Brian Granger elliso...@gmail.com wrote: One small request: is it possible/easy to add to the MPL examples a little 'copy to clipboard' button or link?  Now that one can copy/paste wholesale examples into an interactive session to explore them, it feels

<    3   4   5   6   7   8   9   10   >