On Thursday 26 February 2009 20:52:17 Christopher Brown wrote:
> Hi,
>
> If I have a figure:
>
> h = pp.figure(num=14)
>
> What is the best way to check to see if Figure 14 exists? I'm writing a
> function that adds plots to a figure window. I want the function to
> check if the figure exists, and
Hi,
When I save a plot using the toolbar save function, and I save to a
different directory than the one where my program is, my program can no
longer locate the icons (used in my GUI) that I am using in my .\ressources
directory. So saving the plot changed the working directory of my program?
Ho
Hi all,
Johan Ekh-2 wrote:
>
>
> What is the most convenient way to get Matplotlib to use the same fonts as
> my main document and also to quickly switch between the
> different document types?
>
>
Take a look at: http://dtrx.de/od/tex/sfmath.html
Best regards,
Tobias
--
View this message
Hi all,
Johan Ekh-2 wrote:
>
>
> What is the most convenient way to get Matplotlib to use the same fonts as
> my main document and also to quickly switch between the
> different document types?
>
>
Take a look at: http://dtrx.de/od/tex/sfmath.html
You have to load the package in the preambe
It seems the Freetype rendering backend wasn't doing subpixel alignment
on the text, but was being rounded to the nearest pixels. Taking the
fractional part into account seems to resolve this. Fixed on branch and
trunk.
Mike
Ryan May wrote:
> And here's the image I promised.
>
> On Wed, Feb
There are obviously geometric solutions to this that wouldn't require
interpolation -- though the interpolation is a good easy workaround. I
think it would be great to file a bug for this in the tracker so it
doesn't get forgotten.
Mike
Ryan Wagner wrote:
>
> Is this a bug in fill_between, or
Gökhan SEVER wrote:
> Hello,
>
> My first message in the list. I would like to mention a few things
> about the matplotlib PDF document.
>
> Firstly, the download link for the pdf document (@
> http://matplotlib.sourceforge.net/contents.html) is for release
> 0.98.5.1, compiled on December 17, i
Which backend are you using? I don't see any explicit calls to chdir in
matplotlib that would make this happen. It would certainly be
unintentional if it is.
Mike
Søren Nielsen wrote:
> Hi,
>
> When I save a plot using the toolbar save function, and I save to a
> different directory than the
Matthias Michler wrote:
> On Thursday 26 February 2009 20:52:17 Christopher Brown wrote:
>> Hi,
>>
>> If I have a figure:
>>
>> h = pp.figure(num=14)
>>
>> What is the best way to check to see if Figure 14 exists? I'm writing a
>> function that adds plots to a figure window. I want the function to
Michael Droettboom wrote:
> Which backend are you using? I don't see any explicit calls to chdir in
> matplotlib that would make this happen. It would certainly be
> unintentional if it is.
I don't know about any other back-ends, but the wx FileDialog has an
option to change the working dir w
Hi all,
(A bit off-topic, hope this is ok, please redirect me if this is more
appropriate on a different list).
I am interested in using the mathtext rendering functionality separate
from the plotting part of matplotlib. To be precise, I would like to
use mathtext as a replacement mathematics ren
I recommend you to use the Wedge class in matplotlib.patches.
from matplotlib.patches import Wedge
# draw a wedge in the axes coordinate. (0.5, 0.5) in axes coordinate
corresponds to (0,0) in polar coordinate.
trans = ax.transAxes
center, R = (0.5, 0.5), 0.5
twopi=360.
pie1 = Wedge(center, R, 0,
Hello All
I'm making the transition from Matlab to Python/Pylab/matplotlib, etc.
In Matlab contour plots I can specify the rotation angle of contour labels
(e.g. rotation=0). I'm unable to figure out the equivalent in matplotlib's
clabel. The inline documentation doesn't mention the option
Hansen, Dr. Jim wrote:
> Hello All
>
> I'm making the transition from Matlab to Python/Pylab/matplotlib, etc.
>
> In Matlab contour plots I can specify the rotation angle of contour labels
> (e.g. rotation=0). I'm unable to figure out the equivalent in matplotlib's
> clabel. The inline docu
I'd also be interested in a workaround. I tried to remove the tick labels
from the second axe, but it also removed the labels from the first axe.
Thanks,
David
On Sun, Feb 8, 2009 at 9:14 AM, Christoffer Aberg <
christoffer.ab...@fkem1.lu.se> wrote:
> Hi all,
>
> I have noticed a funny behaviou
Hello all, I'd like to create a "matplotlib.pyplot.figure(...)" object
and specify the size while I'm at it. I see this argument list from
the matplotlib's documentation:
pyplot.figure(num=None, figsize=(8, 6), dpi=80, facecolor='w', edgecolor='k')
The on-screen size is being computed using inche
16 matches
Mail list logo