Re: [Matplotlib-users] can't find pygtk

2012-10-17 Thread Eric Firing
On 2012/10/17 6:13 PM, Michael Aye wrote: > I am using matplotlib 1.1.0 that came with the current EPD, which in > turn comes without pygtk. > > However, the linux system I am using this on (CentOS6) has pygtk installed: > > /usr/lib64/pygtk/2.0 > > Is there any change I can marry those two? Curren

[Matplotlib-users] can't find pygtk

2012-10-17 Thread Michael Aye
I am using matplotlib 1.1.0 that came with the current EPD, which in turn comes without pygtk. However, the linux system I am using this on (CentOS6) has pygtk installed: /usr/lib64/pygtk/2.0 Is there any change I can marry those two? Currently, when I try to matplotlib.use('gtk') I get an erro

Re: [Matplotlib-users] close a figure after show , when plotting many figures from script- using matplotlib.pyplot.figure

2012-10-17 Thread hari jayaram
Hi Sterling , Thanks for your email. I definitely think I was running into issues with the figure updating while it was trying to draw , constantly. I experimented with sleep ..but didnt try hard enough to get it to work. That said, I have a very nice solution to my problem using the wx.aui.AuiN

Re: [Matplotlib-users] close a figure after show , when plotting many figures from script- using matplotlib.pyplot.figure

2012-10-17 Thread Sterling Smith
Hari, While I am not intimately acquainted with the inner working of the interactive matplotlib functionality, I have seen that it tries to not update the figure if you ask for some change to it while it is trying to update the figure. That sounds circular, but oh well. Perhaps you could ha

[Matplotlib-users] Normalize and special scalar handling

2012-10-17 Thread Till Stensitzki
Hello group, is there any special reason for the special handling of scalar arguments in the normalization classes? Would it not be simpler to just use asarray and only use arrays? If nothing speaks against it, i could do a pull request. greetings Till Stensitzki -

Re: [Matplotlib-users] Problem saving open symbols in PDF

2012-10-17 Thread Gökhan Sever
On Wed, Oct 17, 2012 at 12:03 PM, Damon McDougall wrote: > > > Also notice the triangle transparency... > > True. Mike's 4 line addition fixes that issue: https://github.com/matplotlib/matplotlib/issues/1410 -- Gökhan -

Re: [Matplotlib-users] Problem saving open symbols in PDF

2012-10-17 Thread Gökhan Sever
I see that the same behavior here on 3 different viewers. It is a slight aesthetic issue, but once in a while I come up similar differences between PDF and PNGs outputs. -- Gökhan -- Everyone hates slow websites. So do we

Re: [Matplotlib-users] Problem saving open symbols in PDF

2012-10-17 Thread Damon McDougall
On Wed, Oct 17, 2012 at 6:58 PM, Benjamin Root wrote: > > > On Wed, Oct 17, 2012 at 1:21 PM, Damon McDougall > wrote: >> >> On Wed, Oct 17, 2012 at 6:13 PM, Benjamin Root wrote: >> > >> > >> > On Wed, Oct 17, 2012 at 1:08 PM, Damon McDougall >> > >> > wrote: >> >> >> >> On Wed, Oct 17, 2012 at

Re: [Matplotlib-users] close a figure after show , when plotting many figures from script- using matplotlib.pyplot.figure

2012-10-17 Thread hari jayaram
Thanks Benjamin, Sterling and Damon for your prompt help However I am still not able to achieve what I wanted . I can get the headless script to work just great where it saves all the figures and I can view them after the script is done running. But somehow when I try the figure number method

Re: [Matplotlib-users] Problem saving open symbols in PDF

2012-10-17 Thread Damon McDougall
On Wed, Oct 17, 2012 at 6:13 PM, Benjamin Root wrote: > > > On Wed, Oct 17, 2012 at 1:08 PM, Damon McDougall > wrote: >> >> On Wed, Oct 17, 2012 at 5:56 PM, Gökhan Sever >> wrote: >> > >> > >> > On Wed, Oct 17, 2012 at 10:21 AM, Benjamin Root wrote: >> >> >> >> >> >> >> >> On Wed, Oct 17, 2012

Re: [Matplotlib-users] Problem saving open symbols in PDF

2012-10-17 Thread Benjamin Root
On Wed, Oct 17, 2012 at 1:08 PM, Damon McDougall wrote: > On Wed, Oct 17, 2012 at 5:56 PM, Gökhan Sever > wrote: > > > > > > On Wed, Oct 17, 2012 at 10:21 AM, Benjamin Root wrote: > >> > >> > >> > >> On Wed, Oct 17, 2012 at 12:17 PM, Gökhan Sever > >> wrote: > >>> > >>> Thanks Mike, > >>> > >>>

Re: [Matplotlib-users] Problem saving open symbols in PDF

2012-10-17 Thread Damon McDougall
On Wed, Oct 17, 2012 at 5:56 PM, Gökhan Sever wrote: > > > On Wed, Oct 17, 2012 at 10:21 AM, Benjamin Root wrote: >> >> >> >> On Wed, Oct 17, 2012 at 12:17 PM, Gökhan Sever >> wrote: >>> >>> Thanks Mike, >>> >>> Another point I noticed is setting linewidth to 0 (in fill_between >>> function) isn

Re: [Matplotlib-users] Problem saving open symbols in PDF

2012-10-17 Thread Gökhan Sever
On Wed, Oct 17, 2012 at 10:21 AM, Benjamin Root wrote: > > > On Wed, Oct 17, 2012 at 12:17 PM, Gökhan Sever wrote: > >> Thanks Mike, >> >> Another point I noticed is setting linewidth to 0 (in fill_between >> function) isn't working as expected when figure is saved as a PDF file. >> >> I noticed

Re: [Matplotlib-users] Accessing WMS and ESRI REST services in Matplotlib

2012-10-17 Thread Jeff Whitaker
On 10/16/12 12:29 PM, Jeff Whitaker wrote: > On 10/16/12 11:20 AM, Rich Signell wrote: >> Jeff, >> Yep, that worked! So here is a working example of OWSlib with >> Basemap: http://nbviewer.ipython.org/3900648/ >> >> I switched the Basemap projection to 'cyl' because we need to ensure >> that Base

Re: [Matplotlib-users] Problem saving open symbols in PDF

2012-10-17 Thread Benjamin Root
On Wed, Oct 17, 2012 at 12:17 PM, Gökhan Sever wrote: > Thanks Mike, > > Another point I noticed is setting linewidth to 0 (in fill_between > function) isn't working as expected when figure is saved as a PDF file. > > I noticed this while posting a sample script on scipy-users: > > http://atmos.uw

Re: [Matplotlib-users] Problem saving open symbols in PDF

2012-10-17 Thread Gökhan Sever
Thanks Mike, Another point I noticed is setting linewidth to 0 (in fill_between function) isn't working as expected when figure is saved as a PDF file. I noticed this while posting a sample script on scipy-users: http://atmos.uwyo.edu/~gsever/data/test/curvefit_test.py Compare the outputs of pd

Re: [Matplotlib-users] mpl command-line utilities

2012-10-17 Thread Daπid
I also think that would be useful. It would, for example, allow to generate "preview" plots from other languages, without interfacing them to Python. It must be said that MPL is actually quite nice looking in the default settings for basic plotting, and this is an nice feature that can exploit. I

Re: [Matplotlib-users] Problem saving open symbols in PDF

2012-10-17 Thread Michael Droettboom
Filed as https://github.com/matplotlib/matplotlib/issues/1410 On 10/16/2012 10:38 PM, Eric Firing wrote: On 2012/10/16 4:27 PM, Gökhan Sever wrote: Hello, I see that a few days old clone of mpl, cannot save open symbols correctly in a pdf file. Here is a simple test case (in ipython --pylab):

Re: [Matplotlib-users] mpl command-line utilities

2012-10-17 Thread Michael Droettboom
I think this could be very useful -- and might help increase the user base beyond the Python community. As I, and most of us on this list, are quite comfortable with Python, I don't think I'd use it myself, but I certainly see the utility of it. Mike On 10/17/2012 06:38 AM, Damon McDougall wr

Re: [Matplotlib-users] default backend on 1.2.0rc1 and master

2012-10-17 Thread Alejandro Weinstein
On Wed, Oct 17, 2012 at 1:41 AM, Eric Firing wrote: > sudo apt-get build-dep python-matplotlib > > It might pull in more than you really want, but it will certainly > include gui toolkits. If you want to avoid installing all the packages that you get with the `apt-get build-dep pythoh-matplotlib`

[Matplotlib-users] mpl command-line utilities

2012-10-17 Thread Damon McDougall
All, I was brain-storming yesterday and I wanted to test the waters to see if people would find it useful. Currently, GNU plotutils comes with command-line utilities such as `graph` to create quick and dirty line plots like this: http://www.gnu.org/software/gsl/manual/html_node/DWT-Examples.html.

Re: [Matplotlib-users] default backend on 1.2.0rc1 and master

2012-10-17 Thread Francesco Montesano
2012/10/17 Damon McDougall > On Wed, Oct 17, 2012 at 9:12 AM, Francesco Montesano > wrote: > > > > > > 2012/10/17 Eric Firing > >> > >> On 2012/10/16 9:22 PM, Francesco Montesano wrote: > >> > Dear list, > >> > > >> > I've see a difference between the default backend between > >> > > >> > v1.1.

Re: [Matplotlib-users] default backend on 1.2.0rc1 and master

2012-10-17 Thread Damon McDougall
On Wed, Oct 17, 2012 at 9:12 AM, Francesco Montesano wrote: > > > 2012/10/17 Eric Firing >> >> On 2012/10/16 9:22 PM, Francesco Montesano wrote: >> > Dear list, >> > >> > I've see a difference between the default backend between >> > >> > v1.1.1 (shipped with kubuntu 12.10dev) and v1.2.0.rc1, 1.2

Re: [Matplotlib-users] default backend on 1.2.0rc1 and master

2012-10-17 Thread Francesco Montesano
2012/10/17 Eric Firing > On 2012/10/16 9:22 PM, Francesco Montesano wrote: > > Dear list, > > > > I've see a difference between the default backend between > > > > v1.1.1 (shipped with kubuntu 12.10dev) and v1.2.0.rc1, 1.2.0rc2 and > > master (1.3.x). > > > > > > My set up is to call ipython with

Re: [Matplotlib-users] Clipping Contours

2012-10-17 Thread Ian Thomas
On 16 October 2012 18:44, T J wrote: > > This is a set of 152 points on a triangle. delaunay is mentioned to > have problems for some pathological cases. Is a complete triangular > grid considered as such a case? > Yes, under certain circumstances! delaunay is not 'geometrically robust', mean

Re: [Matplotlib-users] default backend on 1.2.0rc1 and master

2012-10-17 Thread Eric Firing
On 2012/10/16 9:22 PM, Francesco Montesano wrote: > Dear list, > > I've see a difference between the default backend between > > v1.1.1 (shipped with kubuntu 12.10dev) and v1.2.0.rc1, 1.2.0rc2 and > master (1.3.x). > > > My set up is to call ipython with pylab and turn on interactive mode. I > stil

[Matplotlib-users] default backend on 1.2.0rc1 and master

2012-10-17 Thread Francesco Montesano
Dear list, I've see a difference between the default backend between v1.1.1 (shipped with kubuntu 12.10dev) and v1.2.0.rc1, 1.2.0rc2 and master (1.3.x). My set up is to call ipython with pylab and turn on interactive mode. I still haven't copied over my matplotlibrc file from my work computer (