Re: [Matplotlib-users] Error in atexit._run_exitfuncs

2014-09-15 Thread keithbriggs
I am still getting this error, this time with matplotlib.pyplot.matshow, and I do not get any plot. This bug really needs to be fixed! -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Error-in-atexit-run-exitfuncs-tp43566p43947.html Sent from the matplotlib - users

Re: [Matplotlib-users] Error in atexit._run_exitfuncs

2014-09-15 Thread Thomas Caswell
Can you provide a minimal example that will trigger the bug? From the description you have given we don't have enough information to diagnose the problem. Ben thinks this is related to some long-standing issues, if you could help us track them down it would be greatly appreciated. Tom On Mon,

Re: [Matplotlib-users] Error in atexit._run_exitfuncs

2014-09-15 Thread Thomas Caswell
What versions of things are you using (python, mpl, gtk, gtk's python bindings, and cairo) and how did you install them? Can you also include the full backtrace? On Mon, Sep 15, 2014 at 8:28 AM, keith.bri...@bt.com wrote: How's this for minimal? from matplotlib import pyplot as plt

Re: [Matplotlib-users] Error in atexit._run_exitfuncs

2014-09-15 Thread keith.briggs
How's this for minimal? from matplotlib import pyplot as plt plt.matshow([[0.0]]) It crashes with the FigureManagerGTK3Cairo error. Keith -Original Message- From: Thomas Caswell [mailto:tcasw...@gmail.com] Sent: 15 September 2014 13:23 To: Briggs,KM,Keith,TUB2 R Cc:

Re: [Matplotlib-users] Error in atexit._run_exitfuncs

2014-09-15 Thread keith.briggs
python 3.3.2, everything else is whatever Ubuntu 14.04 amd64 uses in its latest updates. kbriggs:~ cat bug.py #!/usr/bin/env python3 from matplotlib import pyplot as plt plt.matshow([[0.0]]) kbriggs:~ ./bug.py Error in atexit._run_exitfuncs: AttributeError: 'FigureManagerGTK3Cairo' object has

[Matplotlib-users] zoom a plot

2014-09-15 Thread Xiaobo Yang
Hi, I use matplotlib to create a png file, then display it in a web browser. All works fine. Now I want to zoom the plot. What I can think of is: 1) Get coordinates (x1, y1), (x2, y2) of the image when user makes an area selection on the image; 2) Convert (x1, y1), (x2, y2) to the real values

Re: [Matplotlib-users] zoom a plot

2014-09-15 Thread Paul Hobson
I don't think you'll get acceptable performance out of that workflow. I recommend looking into the webagg backend: http://matplotlib.org/users/whats_new.html#webagg-backend On Mon, Sep 15, 2014 at 8:38 AM, Xiaobo Yang xiaobo.y...@gmail.com wrote: Hi, I use matplotlib to create a png file, then

Re: [Matplotlib-users] zoom a plot

2014-09-15 Thread Tom Young
Thank you for your quick answer. I understand the performance issue you mentioned. For now it is only a proof of concept. I just figured out how to do it in theory by using figure.subplot.left|right|bottom|top plus a few other settings. I'll certainly look at the webagg backend. Are there any

Re: [Matplotlib-users] zoom a plot

2014-09-15 Thread Paul Hobson
Yes. They are on the same webpage to which I linked earlier. http://matplotlib.org/search.html?q=codex+webaggcheck_keywords=yesarea=default On Mon, Sep 15, 2014 at 9:28 AM, Tom Young xiaobo.y...@gmail.com wrote: Thank you for your quick answer. I understand the performance issue you