[matplotlib-devel] Selecting WX2.8 causes problems on wx 2.8.4

2009-05-08 Thread Tony S Yu
I'm running into the following error with the wx backend > >>> import wx > >>> import matplotlib.backends.backend_wxagg > Traceback (most recent call last): > File "", line 1, in > File "/Users/Tony/python/matplotlib/trunk/matplotlib/lib/ > matplotlib/backends/backend_wxagg.py", line 23, in

Re: [matplotlib-devel] clabel and rotation

2009-05-08 Thread Eric Firing
Evan Mason wrote: > Hi, would it be possible to add a keyword to clabel to optionally switch > off the angle fix in contour.py lines 384+? Evan, Done in r7097. I called the kwarg "rightside_up", defaulting to True. You have come up with a novel use for clabel. Longer-term, we should be able t

[matplotlib-devel] clabel and rotation

2009-05-08 Thread Evan Mason
Hi, would it be possible to add a keyword to clabel to optionally switch off the angle fix in contour.py lines 384+? # Fix angle so text is never upside-down if rotation > 90: rotation = rotation - 180.0 if rotation < -90: rotation = 180.0 + rotation Someth