Re: [Matplotlib-users] How to update matplotlib's imshow() window interactively?

2013-07-25 Thread Michiel de Hoon
Depending on the backend, you may be able to use f = plt.figure() f.canvas.flush_events() Also, I would suggest to clear the image each time you go through the loop, otherwise you'll end up with a huge number of images on top of each other. Best, -Michiel.

Re: [Matplotlib-users] animations with python and gtk3

2013-07-25 Thread Gurinder Singh Gill
Thanks for replying Ben , i am using Matplotlib v_1.2.1 (installed using source) and am following embedding_in_gtk3.py, basic_anim.py and simple_anim.py. basically i am trying to merge embedding_in_gtk3.py with simple_anim.py so that i have an gtk3 Main window and inside it i am plotting

[Matplotlib-users] how to make mat.figure.Figure.add_axes generated axes adjustable with the interactive tool?

2013-07-25 Thread Chao YUE
Dear all, First I make some subplots using the plt.subplots command, then I use mat.figure.Figure.delaxes to delete the axes, and add some small new ones in the same space by using mat.figure.Figure.add_axes, but I find after rendering the figure in the interative window, I cannot adjust the

Re: [Matplotlib-users] how to make mat.figure.Figure.add_axes generated axes adjustable with the interactive tool?

2013-07-25 Thread Sterling Smith
Chao, plt.subplots returns a figure instance. Can you use the add_subplot method of that figure instance to make your new axes? If so, then I think that they should respond to the new requests for left/right/bottom/wspace space. -Sterling On Jul 25, 2013, at 10:06AM, Chao YUE wrote: Dear

[Matplotlib-users] Font in figures needs to load a specific latex package \usepackage{tipa}

2013-07-25 Thread Jeffrey Spencer
I want to use IPA vowel labels in my figures and to do that I need to load the package in latex \usepackage{tipa}. Is this possible as searching online besides using the new backend pgf I haven't seen how to manually select latex packages to load when using tex. Is this possible? Also a side note

Re: [Matplotlib-users] Font in figures needs to load a specific latex package \usepackage{tipa}

2013-07-25 Thread Paul Hobson
On Thu, Jul 25, 2013 at 12:16 PM, Jeffrey Spencer jeffspenc...@gmail.comwrote: I want to use IPA vowel labels in my figures and to do that I need to load the package in latex \usepackage{tipa}. Is this possible as searching online besides using the new backend pgf I haven't seen how to