Re: [Matplotlib-users] Cygwin and matplotlib

2010-08-16 Thread Adam Gustafson
Would anyone be so kind as to show me how to modify setupext.py such that the install actually works? I'm surprised this hasn't come up already, actually, as there definitely are a lot of bugs in trying to set it up now. At the very list, it seems that ConfigParser is constructing an empty list,

Re: [Matplotlib-users] add_collection3d and PatchCollection

2010-08-16 Thread Benjamin Root
On Mon, Aug 16, 2010 at 5:20 PM, Graham Taylor wrote: > I'm trying to display several rectangles (from matplotlib.patches) in 3D. > I thought it would be possible to use the add_collection3d method similar to > the demo on the examples page: > http://matplotlib.sourceforge.net/mpl_toolkits/mplot3

Re: [Matplotlib-users] Cygwin and matplotlib

2010-08-16 Thread Michiel de Hoon
Matplotlib works well with Cygwin (I am using it with the gtkcairo backend), but installing it can be a hassle. You'll have to fix errors such as the ones you're seeing by modifying setup.py or setupext.py. --Michiel. --- On Mon, 8/16/10, Adam Gustafson wrote: From: Adam Gustafson Subject: [M

Re: [Matplotlib-users] How to improve colorbar scaling?

2010-08-16 Thread Jae-Joon Lee
Using the set_powerlimits method didn't help? As far as I know, the current implementation does not allow a custom scale factor. But if the scale factor is power of 10 (10, 100, 1000, ...), I believe using set_powerlimits method (as in my previous example, or some variation) is good enough. Let m

[Matplotlib-users] Cygwin and matplotlib

2010-08-16 Thread Adam Gustafson
Could someone please kindly let me know if matplotlib is compatible with Cygwin? I installed all the necessary dependencies, yet I cannot get matplotlib to compile correctly. At the build step, this is what I get: $ python setup.py build basedirlist is: ['/usr/local', '/usr'] ===

[Matplotlib-users] add_collection3d and PatchCollection

2010-08-16 Thread Graham Taylor
I'm trying to display several rectangles (from matplotlib.patches) in 3D. I thought it would be possible to use the add_collection3d method similar to the demo on the examples page:http://matplotlib.sourceforge.net/mpl_toolkits/mplot3d/tutorial.html However, when I call this method on a PatchCo

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

2010-08-16 Thread Friedrich Romstedt
2010/8/13 Andrea Tomadin : > Dear John, > > thank you for your suggestion.  Unfortunately, I have just tried that and I > am positive that it does not work. > > It works only if the option "frameon" of the figure is True, which is not > what I want in this case (I have to produce a pdf with trans

Re: [Matplotlib-users] Can't get latest version

2010-08-16 Thread Benjamin Root
On Mon, Aug 16, 2010 at 2:23 PM, Carlos Anderson wrote: > Ben, > > > > Thank you! I removed my current version of matplotlib, then downloaded the > source code for the newest version, compiled it, installed it, and now > everything works! I only had one error during compilation, which I fixed by

Re: [Matplotlib-users] Can't get latest version

2010-08-16 Thread Michael Droettboom
On 08/16/2010 02:50 PM, Benjamin Root wrote: > Also, if you never compiled programs before on your system, you might > need to install using > synaptics some build packages. I think the link lists the > dependencies you need to have installed. As a shortcut, you can install all of the build depe

Re: [Matplotlib-users] Can't get latest version

2010-08-16 Thread Benjamin Root
On Mon, Aug 16, 2010 at 1:17 PM, Carlos Anderson wrote: > I have an older version of matplotlib (0.98.5.2), but when I do this: > > > > sudo apt-get install python-matplotlib > > > > it says "python-matplotlib is already the newest version" and it doesn't > download the latest version, which i

[Matplotlib-users] Can't get latest version

2010-08-16 Thread Carlos Anderson
I have an older version of matplotlib (0.98.5.2), but when I do this: sudo apt-get install python-matplotlib it says "python-matplotlib is already the newest version" and it doesn't download the latest version, which is 1.0.0. How can I get the latest matplotlib version using apt-get? --

Re: [Matplotlib-users] How to improve colorbar scaling?

2010-08-16 Thread Jeremy Conlin
On Sun, Aug 15, 2010 at 10:49 PM, Jae-Joon Lee wrote: > On Fri, Aug 13, 2010 at 3:34 AM, Jeremy Conlin wrote: >> I have a problem with the scaling of the numbers on a colorbar.  The >> problem occurs when the numbers used as colorbar labels need to be >> scaled (i.e. by 1E3).  The colorbar correc

Re: [Matplotlib-users] 1.1.0 changes: bug in YAxis.set_ticks_position; new show() behavior

2010-08-16 Thread Eric Firing
On 08/16/2010 06:44 AM, Toby Burnett wrote: > It is good to know that both issues have been recognized and addressed. > I searched the bug list and I guess failed to use the right keyword, or > just didn’t recognize the title. > > However, I am not in need of help, and certainly would not do a comp

Re: [Matplotlib-users] 1.1.0 changes: bug in YAxis.set_ticks_position; new show() behavior

2010-08-16 Thread Toby Burnett
It is good to know that both issues have been recognized and addressed. I searched the bug list and I guess failed to use the right keyword, or just didn't recognize the title. However, I am not in need of help, and certainly would not do a complete reinstall, perhaps introducing new issues, wh

Re: [Matplotlib-users] Why can't I change my artist's alpha?

2010-08-16 Thread Jae-Joon Lee
Those artist in offsetbox module (e.g., TextArea, VPacker, AnchoredOffsetbox) are mostly a container object, i.e., actual drawing is done by other artists. And changing the artist attributes of the container object often does not work. In your case (I guess you want to make the frame translucent?),

[Matplotlib-users] No installer yet for a Python 2.7-compat. version?

2010-08-16 Thread David Goldsmith
And is NumPy 1.5 compat. confirmed yet? Thanks! DG -- Privacy is overrated; Identity isn't. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf

Re: [Matplotlib-users] Why can't I change my artist's alpha?

2010-08-16 Thread Mathew Yeates
Thanks, Ben, but I figured out that I just needed to use frameon=False. This way, I can see teh plot under the text. Thx On Mon, Aug 16, 2010 at 9:16 AM, Benjamin Root wrote: > On Mon, Aug 16, 2010 at 10:59 AM, Mathew Yeates > wrote: >> >> Hi >> I want my plot to be visible when I display some

Re: [Matplotlib-users] Why can't I change my artist's alpha?

2010-08-16 Thread Benjamin Root
On Mon, Aug 16, 2010 at 10:59 AM, Mathew Yeates wrote: > Hi > I want my plot to be visible when I display some text over it. Why > doesn't this work? > fig = plt.figure(figsize=(5,5), dpi=100) > ax=fig.add_axes([0.1,0.1,0.8,.8]) > ax.hist(data) > box1 = TextArea("Minimum: %f" % mind, textprops=dic

[Matplotlib-users] Why can't I change my artist's alpha?

2010-08-16 Thread Mathew Yeates
Hi I want my plot to be visible when I display some text over it. Why doesn't this work? fig = plt.figure(figsize=(5,5), dpi=100) ax=fig.add_axes([0.1,0.1,0.8,.8]) ax.hist(data) box1 = TextArea("Minimum: %f" % mind, textprops=dict(color="k")) box2 = TextArea("Maximum: %f" % maxd, textprops=dict(col

Re: [Matplotlib-users] DLL load failed

2010-08-16 Thread Christoph Gohlke
On 8/15/2010 2:06 PM, Paweł Roman wrote: > Hi, > > I have matplotlib 1.0 for python 2.5 (installed from > matplotlib-1.0.0.win32-py2.5.exe > ). > I'm using windows7 64 bit. When I

Re: [Matplotlib-users] spline "smart bounds"

2010-08-16 Thread Jason Grout
On 8/16/10 5:36 AM, Michael Droettboom wrote: > For clarification: this change is related to "spines" not "splines". > Spines are the feature that allows the axes ticks to be plotted > somewhere in the middle of the plot, rather than always at the edges. > See here: > > http://matplotlib.sourceforg

Re: [Matplotlib-users] 1.1.0 changes: bug in YAxis.set_ticks_position; new show() behavior

2010-08-16 Thread Benjamin Root
On Sat, Aug 14, 2010 at 11:25 AM, Toby Burnett wrote: > YAxis: > The documentation (http://matplotlib.sourceforge.net/api/axis_api.html) > says: > > "Set the ticks position (left, right, both, default or none) 'both' sets > the ticks to appear on both positions, but does not change the tick label

[Matplotlib-users] DLL load failed

2010-08-16 Thread Paweł Roman
Hi, I have matplotlib 1.0 for python 2.5 (installed from matplotlib-1.0.0.win32-py2.5.exe). I'm using windows7 64 bit. When I try to import anything, e.g. from matplotlib.figure i

[Matplotlib-users] 1.1.0 changes: bug in YAxis.set_ticks_position; new show() behavior

2010-08-16 Thread Toby Burnett
YAxis: The documentation (http://matplotlib.sourceforge.net/api/axis_api.html) says: "Set the ticks position (left, right, both, default or none) 'both' sets the ticks to appear on both positions, but does not change the tick labels. 'default' resets the tick positions to the default: ticks on

Re: [Matplotlib-users] spline "smart bounds"

2010-08-16 Thread Michael Droettboom
For clarification: this change is related to "spines" not "splines". Spines are the feature that allows the axes ticks to be plotted somewhere in the middle of the plot, rather than always at the edges. See here: http://matplotlib.sourceforge.net/examples/pylab_examples/spine_placement_demo.h