Re: [Matplotlib-users] matplotlib installation problem

2008-01-04 Thread Eric Firing
Jordan Dawe wrote: > Ok, I compiled matplotlib from source, and installed it into my home > directory. import matplotlib works fine, but from pylab import * returns > > >>> from pylab import * > Traceback (most recent call last): > File "", line 1, in > File "/home/users/freedryk//lib/pyth

[Matplotlib-users] matplotlib installation problem

2008-01-04 Thread Jordan Dawe
Ok, I compiled matplotlib from source, and installed it into my home directory. import matplotlib works fine, but from pylab import * returns >>> from pylab import * Traceback (most recent call last): File "", line 1, in File "/home/users/freedryk//lib/python/pylab.py", line 1, in fro

Re: [Matplotlib-users] mouse coordinate precision in figures

2008-01-04 Thread John Hunter
On Jan 4, 2008 7:32 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > You can also set a custom formatter for each axis without hacking the > matplotlib code:: > >def custom_formatter(value): > return str(value) > >gca().fmt_xdata = custom_formatter >gca().fmt_ydata = custom_form

Re: [Matplotlib-users] (no subject)

2008-01-04 Thread Michael Droettboom
Between 0.90 and 0.91, the SVG backend was changed to store the glyph outlines of the characters in the SVG file itself. (This is on by default, but can be turned off with the rc parameter svg.embed_char_paths). This helps make the SVG files much more portable, as the need to install the math

Re: [Matplotlib-users] Rendering of fonts in plots does not honor user-specified parameters

2008-01-04 Thread Michael Droettboom
Hmm. Thanks for the info. A real puzzler, then. I'll probably have to get my hands on a Windows box to figure this one out. Cheers, Mike Orest Kozyar wrote: > My apolgies for not responding sooner. > >> The only different between the provided matplotlibrc and the built-in >> defaults seems t

Re: [Matplotlib-users] Printing problems with "WXAgg" on Linux (minakawa)

2008-01-04 Thread Michael Droettboom
Happy New Year to you as well! I see now where part of the confusion lies -- even though you have specified the WxAgg backend, the Wx backend is being used for the printing. Though I didn't write this code, I assume this is by design -- WxAgg can only generate bitmaps, and we don't want to use

Re: [Matplotlib-users] Legend with numpoints = 1

2008-01-04 Thread Michael Droettboom
I'm sure the radio silence to your question is just due to holidays. Thanks for looking into this. I'd be happy to incorporate your patch when it is ready. As for your question about plots that can include patches -- patches are virtually anything plotted that aren't lines or images. This inc

Re: [Matplotlib-users] mouse coordinate precision in figures

2008-01-04 Thread Michael Droettboom
You can also set a custom formatter for each axis without hacking the matplotlib code:: def custom_formatter(value): return str(value) gca().fmt_xdata = custom_formatter gca().fmt_ydata = custom_formatter We may want to add a cleaner (more obvious) API for this -- but there might

Re: [Matplotlib-users] axes numbers font size

2008-01-04 Thread Matthias Michler
Hello, On Tuesday 18 December 2007 23:42, G. O. Nikiforov wrote: > 1. Is there a way to change the font type and font size of the numbers on > the axes in a figure? Not the labels (xlabel and ylabel - they are easy to > change), but the actual numbers. If for example x goes from 0 to 6 in step > o