Re: [Matplotlib-users] AttributeError: LineCollection instance has no attribute 'get_lines'

2007-04-07 Thread Eric Firing
Jouni K. Seppänen wrote: > Jouni K. Seppänen <[EMAIL PROTECTED]> writes: > > Also I'm not at all sure that my solution to the Circle problem is > correct: > > http://thread.gmane.org/gmane.comp.python.matplotlib.devel/2667/focus=2670 > Your solution is correct; the docstring was wrong, and the

Re: [Matplotlib-users] AttributeError: LineCollection instance has no attribute 'get_lines'

2007-04-07 Thread Jouni K . Seppänen
Jouni K. Seppänen <[EMAIL PROTECTED]> writes: > Eric Firing <[EMAIL PROTECTED]> writes: > >> Do you know of some other simple >> bugs like this we should look at ASAP? > > Of the bugs listed at http://sf.net/tracker/?group_id=80706&atid=560720 > I suspect a few would be simple to fix: Also I'm n

Re: [Matplotlib-users] AttributeError: LineCollection instance has no attribute 'get_lines'

2007-04-07 Thread Jouni K . Seppänen
Eric Firing <[EMAIL PROTECTED]> writes: > In any case, thanks for bringing the legend/LineCollection bug to my > attention. This is the sort of thing it is nice to get cleaned up > before the next release, coming soon. Do you know of some other simple > bugs like this we should look at ASAP?

Re: [Matplotlib-users] AttributeError: LineCollection instance has no attribute 'get_lines'

2007-04-07 Thread Eric Firing
John Hunter wrote: > On 4/7/07, Eric Firing <[EMAIL PROTECTED]> wrote: > >> I put back get_lines() in collections and fixed a related bug in legend, >> so the test script now works in the sense that it makes a legend. It >> puts in an unlabeled line, presumably corresponding to the line >> collec

Re: [Matplotlib-users] AttributeError: LineCollection instance has no attribute 'get_lines'

2007-04-07 Thread John Hunter
On 4/7/07, Eric Firing <[EMAIL PROTECTED]> wrote: > I put back get_lines() in collections and fixed a related bug in legend, > so the test script now works in the sense that it makes a legend. It > puts in an unlabeled line, presumably corresponding to the line > collection making up the error ba

Re: [Matplotlib-users] AttributeError: LineCollection instance has no attribute 'get_lines'

2007-04-07 Thread Eric Firing
Jouni K. Seppänen wrote: > Nils Wagner <[EMAIL PROTECTED]> writes: > >> File "/usr/lib64/python2.4/site-packages/matplotlib/legend.py", line >> 357, in _auto_legend_data >> hlines = handle.get_lines() >> AttributeError: LineCollection instance has no attribute 'get_lines' > > It seems that

Re: [Matplotlib-users] .notdef

2007-04-07 Thread Werner F. Bruhin
Johann, Jouni K. Seppänen wrote: > "Werner F. Bruhin" <[EMAIL PROTECTED]> writes: > > Actually, I have other problems : I cannot save in many formats. The bmp is deemed usueless by gimp, >>> I didn't even know you can save in bmp format. Does png format work >>> better?

Re: [Matplotlib-users] AttributeError: LineCollection instance has no attribute 'get_lines'

2007-04-07 Thread Jouni K . Seppänen
Nils Wagner <[EMAIL PROTECTED]> writes: > File "/usr/lib64/python2.4/site-packages/matplotlib/legend.py", line > 357, in _auto_legend_data > hlines = handle.get_lines() > AttributeError: LineCollection instance has no attribute 'get_lines' It seems that get_lines() was removed from LineColl

[Matplotlib-users] .notdef (was: a bug in tex formatting?)

2007-04-07 Thread Jouni K . Seppänen
"johann cohen-tanugi" <[EMAIL PROTECTED]> writes: > Actually, I have other problems : I cannot save in many formats. The > bmp is deemed usueless by gimp, I didn't even know you can save in bmp format. Does png format work better? > and ps and eps save options gives the following > error message

Re: [Matplotlib-users] a bug in tex formatting?

2007-04-07 Thread Jouni K . Seppänen
"johann cohen-tanugi" <[EMAIL PROTECTED]> writes: > If I do r'$A\tilde{B}$' the tilde is actually on the A !! It doesn't do that for me. Either this has been fixed between your question and now, or it depends on the specifics of your environment. The following simple test puts the tilde on B in

[Matplotlib-users] images on log axes: bug

2007-04-07 Thread Michael Fitzgerald
Hi all, In June '06, there was a short discussion on getting images displayed on log axes (thread: "showing an image on log axes?"). John Hunter posted this example code: from pylab import figure, show, nx fig = figure() ax = fig.add_subplot(111) im = nx.mlab.rand(500,500) ax.imshow(im, exten