[Matplotlib-users] font style problem!

2008-08-18 Thread sa6113
I use this code to set plot legend font : font = FontProperties(family ='monospace',style = 'italic',size='large', weight='bold') self.ax.legend( line, label, legend , prop = font) but font style dosen't effect while other properties set properly. what is the problem?? -- View

Re: [Matplotlib-users] incorrect window_extent of rendered text in pdf backend

2008-08-18 Thread Jae-Joon Lee
RendererPdf.get_text_width_height_descent() uses dviread to figure out the text extent. It seems that the text height returned by dviread is a height with descent not being included. Therefore, by manually adding the amount of the descent to its height, problem seems to be solved. At line 1652 of

Re: [Matplotlib-users] Set MPLCONFIGDIR to something different

2008-08-18 Thread Warren Weckesser
I meant to send this to the list, not just to Brent... -- Forwarded message -- From: Warren Weckesser <[EMAIL PROTECTED]> Date: Mon, Aug 18, 2008 at 4:03 PM Subject: Re: [Matplotlib-users] Set MPLCONFIGDIR to something different To: Brent Pedersen <[EMAIL PROTECTED]> Hi, On Mon,

Re: [Matplotlib-users] Set MPLCONFIGDIR to something different

2008-08-18 Thread Brent Pedersen
On Mon, Aug 18, 2008 at 8:25 AM, stuartornum <[EMAIL PROTECTED]> wrote: > > Hi Jeff, > > Sorry I should have explained more. I am running a web app also I currently > working for a very large organisation so the infrastructure is quite > different to your average home / signle server setup. > > Tha

Re: [Matplotlib-users] legend text vertical alignment

2008-08-18 Thread Darren Dale
On Monday 18 August 2008 10:45:39 am Darren Dale wrote: > On Monday 18 August 2008 09:48:58 am you wrote: > > Hi, > > > > On Mon, Aug 18, 2008 at 2:25 PM, Darren Dale <[EMAIL PROTECTED]> wrote: > > > Could you post a *simple* script that reproduces the problem? And in > > > the meantime, to get a f

Re: [Matplotlib-users] Set MPLCONFIGDIR to something different

2008-08-18 Thread Jeff Whitaker
stuartornum wrote: > Hi Jeff, > > Sorry I should have explained more. I am running a web app also I currently > working for a very large organisation so the infrastructure is quite > different to your average home / signle server setup. > > Thank you. > Stuart: I don't think setting it in your

Re: [Matplotlib-users] Set MPLCONFIGDIR to something different

2008-08-18 Thread stuartornum
Hi Jeff, Sorry I should have explained more. I am running a web app also I currently working for a very large organisation so the infrastructure is quite different to your average home / signle server setup. Thank you. -- View this message in context: http://www.nabble.com/Set-MPLCONFIGDIR-to-

Re: [Matplotlib-users] Set MPLCONFIGDIR to something different

2008-08-18 Thread Jeff Whitaker
stuartornum wrote: > Hi, > > Im getting the error: > > : Failed to create > /$dirstring$/common/.matplotlib; consider setting MPLCONFIGDIR to a writable > directory for matplotlib configuration data > > The problem is I do not have write access to the MatPlotLib module sourse, > so I cannot change

[Matplotlib-users] Set MPLCONFIGDIR to something different

2008-08-18 Thread stuartornum
Hi, Im getting the error: : Failed to create /$dirstring$/common/.matplotlib; consider setting MPLCONFIGDIR to a writable directory for matplotlib configuration data The problem is I do not have write access to the MatPlotLib module sourse, so I cannot change the MPLCONFIGDIR variable, where ev

Re: [Matplotlib-users] legend text vertical alignment

2008-08-18 Thread Darren Dale
On Monday 18 August 2008 09:48:58 am you wrote: > Hi, > > On Mon, Aug 18, 2008 at 2:25 PM, Darren Dale <[EMAIL PROTECTED]> wrote: > > Could you post a *simple* script that reproduces the problem? And in the > > meantime, to get a figure that looks better for your publication, can you > > save your

Re: [Matplotlib-users] Arrow Questions

2008-08-18 Thread Ben Axelrod
Bump. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Axelrod Sent: Thursday, August 14, 2008 5:54 PM To: Matplotlib Subject: [Matplotlib-users] Arrow Questions I am trying to implement a dynamic graph in mpl, where users can drag around the no

Re: [Matplotlib-users] legend text vertical alignment

2008-08-18 Thread Robin
Hi, On Mon, Aug 18, 2008 at 2:25 PM, Darren Dale <[EMAIL PROTECTED]> wrote: > Could you post a *simple* script that reproduces the problem? And in the > meantime, to get a figure that looks better for your publication, can you > save your figure as an svg, import it into inkscape, tweak the bad pl

Re: [Matplotlib-users] legend text vertical alignment

2008-08-18 Thread Darren Dale
Hi Robin, Could you post a *simple* script that reproduces the problem? And in the meantime, to get a figure that looks better for your publication, can you save your figure as an svg, import it into inkscape, tweak the bad placement, and then save a pdf? Darren On Monday 18 August 2008 08:4

Re: [Matplotlib-users] legend text vertical alignment

2008-08-18 Thread Robin
Hi, I was wondering if anyone was able to help with this problem of incorrect legend alignment. I am not sure if the original mail did not get through, perhaps because of the attachent, so this time I have put the example here: http://acrids.robince.net/robince/bad_legend.pdf Publication is now

Re: [Matplotlib-users] multivariate scatter plots?

2008-08-18 Thread Alan G Isaac
Chris Fonnesbeck wrote: > I'm trying to track down a function/recipe for generating a multivariate > scatter plot. I'm thinking of something similar to what you get in R if > you call plot on a multivariate data frame: > http://mt11.quickshareit.com/share/rplotb1a70.pdf Yes, that would be real

Re: [Matplotlib-users] windrose OO

2008-08-18 Thread Lionel Roubeyrie
Hi, sorry for the latency, holidays just finished :-( Find with this message a modified version of windrose_oo, but I'm not very familiar with the new projections facilities, and then the code is buggy : ## Traceback (most recent call last): File "windrose_oo.py",

[Matplotlib-users] multivariate scatter plots?

2008-08-18 Thread Chris Fonnesbeck
I'm trying to track down a function/recipe for generating a multivariate scatter plot. I'm thinking of something similar to what you get in R if you call plot on a multivariate data frame: http://mt11.quickshareit.com/share/rplotb1a70.pdf Is there anything obvious here? It seems like something t

Re: [Matplotlib-users] OS X (Intel Mac) installation woes

2008-08-18 Thread Chris Fonnesbeck
Nathaniel Virgo <[EMAIL PROTECTED]> writes: > > Hi allI'm having trouble installing on OS X.  The short story is it looks like something file is trying to build something for a ppc architecture when I'm on an Intel mac.Here's the long story:First I downloaded the matplotlib-0.99.3-py2.5-macosx