[Matplotlib-users] MPL = Location of new figure on desktop

2010-08-20 Thread Eric Emsellem
Hi I have one very nagging issue which I would like to solve with matplotlib once and for all: this may have to do with my desktop windown manager but I couldn't find much there, so any input is welcome. When I open a new figure, the figure ALWAYS comes BELOW my current xterm (using KDE 4.3)

Re: [Matplotlib-users] TeX fails in general

2010-08-20 Thread Paul Anton Letnes
On 18. aug. 2010, at 23.21, Friedrich Romstedt wrote: 2010/8/17 Paul Anton Letnes paul.anton.let...@gmail.com: If I try to use LaTeX for text processing (i.e. text.usetex : True in my matplotlibrc), I get a cryptic LaTeX error which didn't use to be there before. I get the same problem

[Matplotlib-users] how do label with matshow

2010-08-20 Thread Patricia
Hi all, I start using matplotlib a month ago, so I'm still learning. I'm trying to do a heatmap with matshow. My code is the following: data = numpy.array(a).reshape(4, 4) cax = ax.matshow(data, interpolation='nearest', cmap=cm.get_cmap('PuBu'), norm=LogNorm()) cbar = fig.colorbar(cax)

Re: [Matplotlib-users] polar plot

2010-08-20 Thread Michael Droettboom
On 08/19/2010 05:53 PM, Friedrich Romstedt wrote: 2010/8/19 Michael Droettboommd...@stsci.edu: On 08/18/2010 06:03 PM, Friedrich Romstedt wrote: Is the attached issue with a plain polar axes already fixed? I never encountered this before. 344 degrees happens to be 6.0 rad. I'm

Re: [Matplotlib-users] MPL = Location of new figure on desktop

2010-08-20 Thread Benjamin Root
On Fri, Aug 20, 2010 at 2:18 AM, Eric Emsellem eemse...@eso.org wrote: Hi I have one very nagging issue which I would like to solve with matplotlib once and for all: this may have to do with my desktop windown manager but I couldn't find much there, so any input is welcome. When I open a

Re: [Matplotlib-users] MPL = Location of new figure on desktop

2010-08-20 Thread Tony S Yu
On Aug 20, 2010, at 10:41 AM, Benjamin Root wrote: On Fri, Aug 20, 2010 at 2:18 AM, Eric Emsellem eemse...@eso.org wrote: Hi I have one very nagging issue which I would like to solve with matplotlib once and for all: this may have to do with my desktop windown manager but I couldn't

Re: [Matplotlib-users] MPL = Location of new figure on desktop

2010-08-20 Thread Benjamin Root
On Fri, Aug 20, 2010 at 9:51 AM, Tony S Yu tsy...@gmail.com wrote: On Aug 20, 2010, at 10:41 AM, Benjamin Root wrote: On Fri, Aug 20, 2010 at 2:18 AM, Eric Emsellem eemse...@eso.org wrote: Hi I have one very nagging issue which I would like to solve with matplotlib once and for all:

Re: [Matplotlib-users] polar plot

2010-08-20 Thread Benjamin Root
On Fri, Aug 20, 2010 at 8:33 AM, Michael Droettboom md...@stsci.edu wrote: On 08/19/2010 05:53 PM, Friedrich Romstedt wrote: 2010/8/19 Michael Droettboommd...@stsci.edu: On 08/18/2010 06:03 PM, Friedrich Romstedt wrote: Is the attached issue with a plain polar axes already fixed? I

Re: [Matplotlib-users] MPL = Location of new figure on desktop

2010-08-20 Thread Ryan May
On Fri, Aug 20, 2010 at 9:41 AM, Benjamin Root ben.r...@ou.edu wrote: One possibility for this behavior might be that you might be defaulting to a different backend than QT.  I would imagine if matplotlib is defaulting to the GTKAgg backend or the Tk backend, then the figure window would not

Re: [Matplotlib-users] plotting open symbols

2010-08-20 Thread Tinne De Laet
Hi Jonathan, On Fri, Aug 20, 2010 at 16:29, Jonathan Slavin jsla...@cfa.harvard.edu wrote: To all: I'm wondering if there is any way to make plots with open symbols, e.g. a circle.  I know how to use markers that look open, e.g. by doing something like, plot(x,y,marker='o',mfc='w') They

Re: [Matplotlib-users] MPL = Location of new figure on desktop

2010-08-20 Thread Tony S Yu
On Aug 20, 2010, at 10:59 AM, Benjamin Root wrote: On Fri, Aug 20, 2010 at 9:51 AM, Tony S Yu tsy...@gmail.com wrote: On Aug 20, 2010, at 10:41 AM, Benjamin Root wrote: On Fri, Aug 20, 2010 at 2:18 AM, Eric Emsellem eemse...@eso.org wrote: Hi I have one very nagging issue which I

Re: [Matplotlib-users] MPL = Location of new figure on desktop

2010-08-20 Thread Benjamin Root
On Fri, Aug 20, 2010 at 10:12 AM, Ryan May rma...@gmail.com wrote: On Fri, Aug 20, 2010 at 9:41 AM, Benjamin Root ben.r...@ou.edu wrote: One possibility for this behavior might be that you might be defaulting to a different backend than QT. I would imagine if matplotlib is defaulting to

Re: [Matplotlib-users] plotting open symbols

2010-08-20 Thread Jonathan Slavin
Tinne, Thanks. I think I had tried that but with mfc=None -- that is without None in quotes as if it were a string. I have to say it's a bit odd to have it in quotes since generally it is a different data type entirely (None type). Jon On Fri, 2010-08-20 at 17:12 +0200, Tinne De Laet wrote:

Re: [Matplotlib-users] plotting open symbols

2010-08-20 Thread Benjamin Root
On Fri, Aug 20, 2010 at 10:25 AM, Jonathan Slavin jsla...@cfa.harvard.eduwrote: Tinne, Thanks. I think I had tried that but with mfc=None -- that is without None in quotes as if it were a string. I have to say it's a bit odd to have it in quotes since generally it is a different data type

[Matplotlib-users] Colorbar labeling

2010-08-20 Thread Bruce Ford
I have a grid with values ranging from exactly 0.0 and 100.0. When I plot this with colorbar, the base of the colorbar is labeled -0.0. Is this a default for 0.0...to plot it with as a negative number? Any workarounds? Bruce --- Bruce W. Ford Clear Science,

Re: [Matplotlib-users] MPL = Location of new figure on desktop

2010-08-20 Thread Eric Emsellem
Hi thanks a lot for the feedback. Just tested with Qt4Agg and the window is coming up in the right location (just below my xterm where there is still space for a new window) now, and sometimes on TOP, but also sometimes at the BOTTOM I was using WxAgg before. So it seems it is backend

Re: [Matplotlib-users] MPL = Location of new figure on desktop

2010-08-20 Thread Eric Firing
On 08/20/2010 05:24 AM, Benjamin Root wrote: On Fri, Aug 20, 2010 at 10:12 AM, Ryan May rma...@gmail.com mailto:rma...@gmail.com wrote: On Fri, Aug 20, 2010 at 9:41 AM, Benjamin Root ben.r...@ou.edu mailto:ben.r...@ou.edu wrote: One possibility for this behavior might be that

Re: [Matplotlib-users] how do label with matshow

2010-08-20 Thread Eric Firing
On 08/20/2010 12:38 AM, Patricia wrote: Hi all, I start using matplotlib a month ago, so I'm still learning. I'm trying to do a heatmap with matshow. My code is the following: data = numpy.array(a).reshape(4, 4) cax = ax.matshow(data, interpolation='nearest', cmap=cm.get_cmap('PuBu'),

Re: [Matplotlib-users] Colorbar labeling

2010-08-20 Thread Eric Firing
On 08/20/2010 05:29 AM, Bruce Ford wrote: I have a grid with values ranging from exactly 0.0 and 100.0. When I plot this with colorbar, the base of the colorbar is labeled -0.0. Is this a default for 0.0...to plot it with as a negative number? Any workarounds? Would you provide a minimal

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

2010-08-20 Thread David Goldsmith
On Mon, Aug 16, 2010 at 9:26 AM, David Goldsmith d.l.goldsm...@gmail.com wrote: And is NumPy 1.5 compat. confirmed yet?  Thanks! DG Did I miss a response to this? If not, does silence = (Yes, No)? -- This SF.net

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

2010-08-20 Thread Nicholas Kinar
On 10-08-20 1:27 PM, David Goldsmith wrote: On Mon, Aug 16, 2010 at 9:26 AM, David Goldsmith d.l.goldsm...@gmail.com wrote: And is NumPy 1.5 compat. confirmed yet? Thanks! DG Did I miss a response to this? If not, does silence = (Yes, No)? David, As far as I know, there is no

Re: [Matplotlib-users] Colorbar labeling

2010-08-20 Thread Bruce Ford
This effect is happening within an web app that displays gridded fields from multiple datasets (~4500 lines of code). So I it's tricky to create an example. Although if I use numpy.min(grid) the minimum is 0. So, I think colorbar or matplotlib is interpreting the 0 as -0. (Matplotlib version

Re: [Matplotlib-users] Colorbar labeling

2010-08-20 Thread Eric Firing
On 08/20/2010 10:14 AM, Bruce Ford wrote: This effect is happening within an web app that displays gridded fields from multiple datasets (~4500 lines of code). So I it's tricky to create an example. Although if I use numpy.min(grid) the minimum is 0. So, I think colorbar or matplotlib is

Re: [Matplotlib-users] Colorbar labeling

2010-08-20 Thread Bruce Ford
Thanks I'll give this a try. numpy.min(grid) reports 0.0 (no negative) yet it labels as -0.0, BTW, but let me give this a try. Bruce --- Bruce W. Ford Clear Science, Inc. br...@clearscienceinc.com http://www.ClearScienceInc.com

Re: [Matplotlib-users] Colorbar labeling

2010-08-20 Thread Eric Firing
On 08/20/2010 10:51 AM, Bruce Ford wrote: Thanks I'll give this a try. numpy.min(grid) reports 0.0 (no negative) yet it labels as -0.0, BTW, but let me give this a try. Bruce, What matters is not min(grid), but the value of the tick. Unless you are forcing them to be the same via a kwarg

[Matplotlib-users] Setting y-tick locations on an image plot changes y-axis limits, Bug or expected behavior?

2010-08-20 Thread Joe Kington
Hi, I've recently noticed that setting the y-tick locations on an image plot changes the y-axis limits, while changing the x-tick locations does not change the x-axis limits. I wouldn't have expected either to change the axis limits, but it seems quite inconsistent that the y-axis and x-axis