Re: [Matplotlib-users] wxpython matplotlib figure resize

2012-07-12 Thread Keith Jones
Hi Josh, Yes I too am using the wx backend. Regards, Keith From: Tony Yu [mailto:tsy...@gmail.com] Sent: Friday, 13 July 2012 3:16 p.m. To: Keith Jones Cc: Joshua Koehler; matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] wxpython matplotlib f

Re: [Matplotlib-users] wxpython matplotlib figure resize

2012-07-12 Thread Tony Yu
On Thu, Jul 12, 2012 at 9:27 PM, Keith Jones wrote: > Hi, > > I am interested in a better solution to this problem, but I have used this > simple method to force the right size. > > > > def tickle(self): > > #gets frame to redraw and resize, not elegant. > > if self.IsMaximiz

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-12 Thread Damon McDougall
On Wed, Jul 11, 2012 at 08:33:21PM -0400, Tony Yu wrote: > On Wed, Jul 11, 2012 at 2:28 PM, Benjamin Root wrote: > > > > > > > On Wed, Jul 11, 2012 at 11:23 AM, John Hunter wrote: > > > >> > >> > >> On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall < > >> damon.mcdoug...@gmail.com> wrote: > >>>

Re: [Matplotlib-users] histogram scaling

2012-07-12 Thread Benjamin Root
On Thu, Jul 12, 2012 at 1:58 PM, Daπid wrote: > I don't know if there is any reason for not having it, but as a > workaround, you could use np.hist to get the data (syntax is the same > as mpl.hist and returns the same numbers, but without drawing) and > then renormalise and plot with mpl.bars. >

Re: [Matplotlib-users] histogram scaling

2012-07-12 Thread Eric Firing
On 2012/07/12 7:20 AM, Damon McDougall wrote: > On Thu, Jul 12, 2012 at 10:42:59AM -0400, Alan G Isaac wrote: >> This is essentially a query about why certain histogram types >> are not offered. I can see two possible answers: haven't gotten >> to them, or, don't want to offer them (e.g., they're

Re: [Matplotlib-users] histogram scaling

2012-07-12 Thread Daπid
I don't know if there is any reason for not having it, but as a workaround, you could use np.hist to get the data (syntax is the same as mpl.hist and returns the same numbers, but without drawing) and then renormalise and plot with mpl.bars. On Thu, Jul 12, 2012 at 4:42 PM, Alan G Isaac wrote: >

Re: [Matplotlib-users] histogram scaling

2012-07-12 Thread Damon McDougall
On Thu, Jul 12, 2012 at 10:42:59AM -0400, Alan G Isaac wrote: > This is essentially a query about why certain histogram types > are not offered. I can see two possible answers: haven't gotten > to them, or, don't want to offer them (e.g., they're bad practice). > > I will choose Stata as a point

Re: [Matplotlib-users] Font in figures

2012-07-12 Thread Damon McDougall
On Thu, Jul 12, 2012 at 03:53:28PM +0200, David Kremer wrote: > Hello, I want to ask some questions about fonts in figures. > > I think that the best figures are achieved when the font used is the > same as in the surrounding text in all the figure. This is the case when > I use the latex notati

[Matplotlib-users] histogram scaling

2012-07-12 Thread Alan G Isaac
This is essentially a query about why certain histogram types are not offered. I can see two possible answers: haven't gotten to them, or, don't want to offer them (e.g., they're bad practice). I will choose Stata as a point of comparison. http://www.stata.com/help.cgi?hist The types are density,

Re: [Matplotlib-users] Two panels (wxPython) containing separate figures

2012-07-12 Thread Daniel Hyams
You can either send them the link to this discussion, or just the little snippet concerning gcf() above; just taking care of that would be an improvement. On Thu, Jul 12, 2012 at 10:17 AM, Joshua Koehler wrote: > That did the trick. I tried going through the source code but it just got > too mess

Re: [Matplotlib-users] Two panels (wxPython) containing separate figures

2012-07-12 Thread Joshua Koehler
That did the trick. I tried going through the source code but it just got too messy. How do I let the networkx developers know about this? On Jul 11, 2012, at 1:18 PM, Benjamin Root wrote: > > > On Wed, Jul 11, 2012 at 12:45 PM, Joshua Koehler wrote: > Hi all, > > I am currently trying to hav

[Matplotlib-users] Font in figures

2012-07-12 Thread David Kremer
Hello, I want to ask some questions about fonts in figures. I think that the best figures are achieved when the font used is the same as in the surrounding text in all the figure. This is the case when I use the latex notation (between $$), but unfortunately the police used for the axis is not

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-12 Thread Damon McDougall
On Thu, Jul 12, 2012 at 09:41:32AM -0400, Tony Yu wrote: > On Thu, Jul 12, 2012 at 9:28 AM, Damon McDougall > wrote: > > > On Wed, Jul 11, 2012 at 08:33:21PM -0400, Tony Yu wrote: > > > On Wed, Jul 11, 2012 at 2:28 PM, Benjamin Root wrote: > > > > > > > > > > > > > > > On Wed, Jul 11, 2012 at 11:

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-12 Thread Tony Yu
On Thu, Jul 12, 2012 at 9:28 AM, Damon McDougall wrote: > On Wed, Jul 11, 2012 at 08:33:21PM -0400, Tony Yu wrote: > > On Wed, Jul 11, 2012 at 2:28 PM, Benjamin Root wrote: > > > > > > > > > > > On Wed, Jul 11, 2012 at 11:23 AM, John Hunter > wrote: > > > > > >> > > >> > > >> On Wed, Jul 11, 201

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-12 Thread Damon McDougall
On Wed, Jul 11, 2012 at 08:33:21PM -0400, Tony Yu wrote: > On Wed, Jul 11, 2012 at 2:28 PM, Benjamin Root wrote: > > > > > > > On Wed, Jul 11, 2012 at 11:23 AM, John Hunter wrote: > > > >> > >> > >> On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall < > >> damon.mcdoug...@gmail.com> wrote: > >>>

Re: [Matplotlib-users] Saving animation with coloured background

2012-07-12 Thread Pål Gunnar Ellingsen
Hi I've submitted a bug report "Issue *#1008"* on github (which I had trouble finding). Regards Pål On 11 July 2012 17:41, Benjamin Root wrote: > > > On Wed, Jul 11, 2012 at 10:41 AM, Pål Gunnar Ellingsen > wrote: > >> Hi >> >> I'm trying to save a animation, which I've generated using >> a