Sorry this thread fell through the cracks. Thanks for the reminder.
The error is not actually on importing and parsing the .py file (it
seems to do that just fine). The error is on printing to the console,
at which point it tries to convert the Unicode string to ascii (which
fails because
Hi,
just wanted to raise this problem on the devel list, where it probably
belongs. Also, if nobody has time to look at it now and you prefer me to
file a bug, please don't hesitate to tell it.
the original post is there:
http://thread.gmane.org/gmane.comp.python.matplotlib.general/20411
Cheers
Le 18 novembre 2009 17:24, Michael Droettboom md...@stsci.edu a écrit :
This is a bug -- but it has a fairly straightforward fix: to use Sphinx's
include directive rather than roll our own as we currently do. This has
been fixed in SVN r7972. plot-directive now takes an encoding option,
Hello,
I'm using the matplotlib Sphinx extension which automatically includes the
source
code and the figures it produces into the Sphinx document. This is a very
handy
feature whose use goes far beyond documenting matplotlib itself. (thanks for
that by the way)
However I have trouble when the
Sébastien Barthélemy wrote:
Hello,
I'm using the matplotlib Sphinx extension which automatically includes
the source
code and the figures it produces into the Sphinx document. This is a
very handy
feature whose use goes far beyond documenting matplotlib itself.
(thanks for that by the
I don't think there's anything that will directly do what you want.
However, you can provide a list of colors (one entry for each point) to
scatter(), (the c kwarg) so you can generate your colors however you
need to beforehand. If you come up with a solution that's generic
enough, we would
Mike,
Thanks for the tip, I was also thinking of using some kind of nonlinear
transform onto a 1D segmented colormap... I'll let you know if I come up
with a solution.
-Pete
On Tue, Mar 3, 2009 at 8:27 AM, Michael Droettboom md...@stsci.edu wrote:
I don't think there's anything that will
Is there any way to encode 2 variables in a matplotlib colormap? The idea
is to replicate this dataspora R scatterplot in matplotlib:
http://www.dataspora.com/gameday/pitcher/daisuke-matsuzaka/493137
The bottom strip of charts encode two dimensions with color -- blue or red
hue indicates pitch
Hi.
How can I get polish letters in, for example, plot title? Now I have empty
squares instead...
Thanks in advance for any help.
--
Marek Wojciechowski
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express
Marek,
See the unicode_demo.py and the tex_unicode_demo.py in the examples
directory.
Marek Wojciechowski wrote:
Hi.
How can I get polish letters in, for example, plot title? Now I have empty
squares instead...
Thanks in advance for any help.
10 matches
Mail list logo