[Matplotlib-users] Matplotlib 1.0.1 Tk backend

2011-08-31 Thread Trevor J Christensen
In preparing to upgrade from 0.99 to 1.0.1, I was reading the online documentation about the various backends. I do not see a TkAgg backend listed. Is that because there is no longer a backend for Tk? Has support for Tk been dropped in 1.0.1? Or has it not yet been added to the documentation?

Re: [Matplotlib-users] Matplotlib 1.0.1 Tk backend

2011-08-31 Thread CAB
Dear Trevor, I am using 1.0.1 and the TkAgg backend with no problems.  I'm not sure why you can't find the documentation.  It is listed in the faq as a viable backend. Chad From: Trevor J Christensen tre...@jcmanagement.net To:

Re: [Matplotlib-users] Matplotlib 1.0.1 Tk backend

2011-08-31 Thread Eric Firing
On 08/31/2011 04:01 AM, Trevor J Christensen wrote: In preparing to upgrade from 0.99 to 1.0.1, I was reading the online documentation about the various backends. I do not see a TkAgg backend listed. Is that because there is no longer a backend for Tk? Has support for Tk been dropped in 1.0.1?

[Matplotlib-users] edge joinstyle on rectangles

2011-08-31 Thread Jeffrey Blackburne
Hi, Are the edges of the rectangles returned by plt.bar() supposed to conform to the 'lines.solid_joinstyle' rcParam? If not, is there another method for specifying that joinstyle? I have not been able to change the joinstyle using this method in versions 1.0.0 (linux, gtkagg and tkagg) or

Re: [Matplotlib-users] Inner boundaries in tricontourf

2011-08-31 Thread Ian Thomas
On 30 August 2011 18:23, Tijs de Kler tijs.dek...@sara.nl wrote: Im trying to use the tricontourf function in matplotlib to reduce the complexity of an unstructured dataset into contours. The resulting contours are retrieved from the path by the to_polygon() function, but i have some trouble

Re: [Matplotlib-users] edge joinstyle on rectangles

2011-08-31 Thread Eric Firing
On 08/31/2011 06:45 AM, Jeffrey Blackburne wrote: Hi, Are the edges of the rectangles returned by plt.bar() supposed to conform to the 'lines.solid_joinstyle' rcParam? If not, is there another method for specifying that joinstyle? I have not been able to change the joinstyle using this

[Matplotlib-users] 1D heat map

2011-08-31 Thread aint
Hi, I have a code for making graphical representations of sentences, Sentence is represented as a bar, and under in you can represent the words. It works fine and I have an example at the end. Now I wanted to add some more features to it, but I am stuck. you can see the previous post from this

Re: [Matplotlib-users] Inner boundaries in tricontourf

2011-08-31 Thread Ian Thomas
I forgot to mention the obvious solution! Outer boundaries are ordered anticlockwise, inner boundaries clockwise. Calculate the area of each boundary assuming it is ordered anticlockwise, and if the area is positive it is an outer boundary, if negative it is an inner boundary. I've attached a

[Matplotlib-users] adding scrollbars to plot embedded in tk

2011-08-31 Thread Matthew Hemke
I have a plot canvas added to a tk interface (python 2.7.2, matplotlib 1.0.1) according to the recipe here: http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_tk.html When the window containing the plot is resized the plot shrinks, often leading to REALLY ugly, unreadable

Re: [Matplotlib-users] Trouble with reading 2d array

2011-08-31 Thread Benjamin Root
On Tue, Aug 30, 2011 at 9:47 PM, Alexa Villaume alexa7...@gmail.com wrote: Thanks for responding, Ben. I used loadtxt() and I'm still getting a very strange looking contour plot. I've attached it and maybe that will be helpful in diagnosing what is wrong with it. I have no reason to believe

Re: [Matplotlib-users] adding scrollbars to plot embedded in tk

2011-08-31 Thread Benjamin Root
On Wed, Aug 31, 2011 at 2:55 PM, Matthew Hemke mghe...@gmail.com wrote: I have a plot canvas added to a tk interface (python 2.7.2, matplotlib 1.0.1) according to the recipe here: http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_tk.html When the window containing the

Re: [Matplotlib-users] Problem with GTK backends after compiling matplotlib

2011-08-31 Thread Craig Finch
I corrected the problem with the FreeType2 header file and rebuilt matplotlib from scratch, but I'm getting the same error.  Centos5 puts the file ft2build.h in /usr/lib but matplotlib looks for it in /usr/lib/freetype2.  I used this command: PKG_CONFIG_PATH=/home/cfinch/lib/pkgconfig 

Re: [Matplotlib-users] Trouble with reading 2d array

2011-08-31 Thread Benjamin Root
On Wed, Aug 31, 2011 at 3:45 PM, Alexa Villaume alexa7...@gmail.com wrote: #Load data in O3 = loadtxt('O3arr.txt') #Specify coordinates of the surface y=np.arange(-0.25, 6.0, 0.25) #The range of the ionization parameter x=np.arange(-1.0, 3.1, 0.1) #The range of the metallcity values

Re: [Matplotlib-users] Trouble with reading 2d array

2011-08-31 Thread Benjamin Root
On Wed, Aug 31, 2011 at 3:50 PM, Alexa Villaume alexa7...@gmail.com wrote: 41, 25 Yes, you have it backwards. The first axis of O3 is the rows, while the second axis is the columns. Keep in mind that Python and NumPy follow C array conventions while Matlab (and IDL?) follow Fortran array

[Matplotlib-users] change font properties of legend title?

2011-08-31 Thread Alan G Isaac
How can I change font properties of a legend title? Thanks, Alan Isaac -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a

Re: [Matplotlib-users] change font properties of legend title?

2011-08-31 Thread Alan G Isaac
On 8/31/2011 5:48 PM, Alan G Isaac wrote: How can I change font properties of a legend title? Related question: would it be a reasonable suggestion for Legend.set_title to take a ``prop`` argument? Alan Isaac --

[Matplotlib-users] Error probably due to misconfiguration

2011-08-31 Thread José Alexandre Nalon
Hello, some weeks ago, I recompiled matplotlib to get locale support for commas, and started to get strange dimension errors while trying to save the figure. Now here is another error that I think that is somewhat related to it. When I try to run the script below, savefig() gives me an

Re: [Matplotlib-users] Problem with GTK backends after compiling matplotlib

2011-08-31 Thread Craig Finch
I figured it out!  I accidentally did something weird.  When I built NumPy and SciPy, I used the --user option to tell distutils to build them in my home directory. I had not realized that --user installs the packages in ~/.local/lib/python2.7/site-packages/.  I was assuming they would be

Re: [Matplotlib-users] Problem with GTK backends after compiling matplotlib

2011-08-31 Thread Benjamin Root
On Wed, Aug 31, 2011 at 6:35 PM, Craig Finch cfi...@ieee.org wrote: I figured it out! I accidentally did something weird. When I built NumPy and SciPy, I used the --user option to tell distutils to build them in my home directory. I had not realized that --user installs the packages in

Re: [Matplotlib-users] change font properties of legend title?

2011-08-31 Thread Jae-Joon Lee
l = legend() l.get_title().set_fontproperties(...) -JJ On Thu, Sep 1, 2011 at 6:48 AM, Alan G Isaac alan.is...@gmail.com wrote: How can I change font properties of a legend title? Thanks, Alan Isaac -- Special

Re: [Matplotlib-users] change font properties of legend title?

2011-08-31 Thread Jae-Joon Lee
On Thu, Sep 1, 2011 at 7:21 AM, Alan G Isaac alan.is...@gmail.com wrote: On 8/31/2011 5:48 PM, Alan G Isaac wrote: How can I change font properties of a legend title? Related question: would it be a reasonable suggestion for Legend.set_title to take a ``prop`` argument? Alan Isaac Can you

[Matplotlib-users] Re fresh colorbar in 3D graph animation

2011-08-31 Thread galorencom
Hello I have an animation which shows 3D diffusion I added color bar at the side during the animation the colors changing but the scale at the colorbar of the graph stay asame. please help with that soon as you can! Thanks! Gal:working: -- View this message in context:

[Matplotlib-users] Missing grid lines with MultipleLocator, set_smart_bounds and ax.axis(equal)

2011-08-31 Thread Niels Langager Ellegaard
Dear matplotlib Gurus If I run the script below then I end up creating a graph where some of the grid lines are missing. The problem disappear if I remove the call to ax.axis(equal) or the calls to set_smart_bounds(True). I already found a different way to solve my problem, but I thought that

Re: [Matplotlib-users] Error probably due to misconfiguration

2011-08-31 Thread Eric Firing
On 08/31/2011 01:15 PM, José Alexandre Nalon wrote: Hello, some weeks ago, I recompiled matplotlib to get locale support for commas, and started to get strange dimension errors while trying to save the figure. Now here is another error that I think that is somewhat related to it. When I try

Re: [Matplotlib-users] Problem with GTK backends after compiling matplotlib

2011-08-31 Thread Eric Firing
On 08/31/2011 01:59 PM, Benjamin Root wrote: On Wed, Aug 31, 2011 at 6:35 PM, Craig Finch cfi...@ieee.org mailto:cfi...@ieee.org wrote: I figured it out! I accidentally did something weird. When I built NumPy and SciPy, I used the --user option to tell distutils to build them

[Matplotlib-users] py2app setup.py example?

2011-08-31 Thread Carlos Grohmann
Hello all. I've been looking for a good example of setup.py to build a bundle app with wxpython+matplotlib. Can someone share or point me in a direction? thanks -- Prof. Carlos Henrique Grohmann - Geologist D.Sc. Institute of Geosciences - Univ. of São Paulo, Brazil