Hello,
I couldn't find this in the API changes, but when I upgraded to the latest
matplotlib 0.98.2, I found (after much hair pulling) that

gca().plot([1,2,1], label='_anything')

will produce a plot and

gca().legend()

will not display the specified label. I had been using filenames starting
with underscores before and _nolabel_ to keep from showing a legend entry.
Is this a bug or has the philosophy changed to eliminate anything starting
with an underscore from the legend? I think if anything None or maybe ""
should be used for empty labels.



Second, I am using interactive mode and WXAgg in windows. So my startup
script does this:

import matplotlib as _mpl
_mpl.use('WXAgg')
import pylab as _p
_p.ion()

Before, when I would then type

gca().plot([1,2,1])

a plot would appear showing the data. Now I just get a blank figure, and I
have to type _p.draw() to see the data. I'm also not sure if this is a bug
or a philosophy change, but I did find the old interactive mode was useful.

Cheers,
Jack
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to