Re: [Matplotlib-users] Events

2012-01-29 Thread Jerzy Karczmarczuk
I believe that I should terminate this thread (from my side), since the image is clear. The actual version of Matplotlib is not adapted to my needs, a rather involved animation of many objects, and changing. The last dialogue with Benjamin Root, whom I am deeply grateful, cleared my doubts.

Re: [Matplotlib-users] Hardware rendering with tricontourf

2012-01-29 Thread Nicolas Rougier
Thanks for posting the link to glumpy. As Benjamin explained, glumpy servers as a testbed for various technics that could be implemented later in matplotlib. The main problem today is that if you want to benefit from hardware acceleration, you have to use some GL features that are not

Re: [Matplotlib-users] (no subject)

2012-01-29 Thread Tony Yu
On Sun, Jan 29, 2012 at 2:21 AM, Paul Hobson pmhob...@gmail.com wrote: There is undoubtedly a more efficient way to do this, but give this a shot: import numpy as np import matplotlib.pyplot as plt x = np.arange(0, 10.5, 0.5) y = -3.0*x + 0.5*x**2 color_list = ['FireBrick', 'Orange',

Re: [Matplotlib-users] Events

2012-01-29 Thread Benjamin Root
On Sunday, January 29, 2012, Jerzy Karczmarczuk jerzy.karczmarc...@unicaen.fr wrote: I believe that I should terminate this thread (from my side), since the image is clear. The actual version of Matplotlib is not adapted to my needs, a rather involved animation of many objects, and changing. The

Re: [Matplotlib-users] Events

2012-01-29 Thread Fernando Perez
On Sun, Jan 29, 2012 at 3:41 AM, Jerzy Karczmarczuk jerzy.karczmarc...@unicaen.fr wrote: There is one rant, if you wish (of course, I am joking). The animation objects (FuncAnimation, etc.) are coded as they are, probably sufficient for you. They are one shot. But if you want to stop and to

Re: [Matplotlib-users] Events

2012-01-29 Thread Jerzy Karczmarczuk
Fernando Perez : The lack of a clean pause/restart functionality is indeed problematic. Furthermore, closing a window that's running an animation, at least with the Qt backend, gave rise to a massive swarm of 'C++ object has been deleted' messages flooding the console where my ipython kernel

Re: [Matplotlib-users] Events

2012-01-29 Thread Fernando Perez
On Sun, Jan 29, 2012 at 12:20 PM, Jerzy Karczmarczuk jerzy.karczmarc...@unicaen.fr wrote: This happens also with different backends and the driving interface (say, Idle with Tkinter...) Some solutions exist. The simplest one is the following. Thanks for the tips! It would really be nice if

Re: [Matplotlib-users] Events

2012-01-29 Thread Jerzy Karczmarczuk
Fernando Perez: I now see there's even a pause() call: https://github.com/matplotlib/matplotlib/pull/148 so it seems like it should be an easy matter of adding the button and wire it to pause(). This is a temporal pause, not an undetermined suspension, restartable. Jerzy

Re: [Matplotlib-users] Events

2012-01-29 Thread Fernando Perez
On Sun, Jan 29, 2012 at 2:29 PM, Jerzy Karczmarczuk jerzy.karczmarc...@unicaen.fr wrote: This is a temporal pause, not an undetermined suspension, restartable. Ah, never mind then. I didn't read the docstring and misunderstood the discussion in the pull request. Cheers, f

Re: [Matplotlib-users] Subplot x-tick labels overlap with each other and with titles

2012-01-29 Thread C M
On Wed, Jan 4, 2012 at 2:19 PM, Benjamin Root ben.r...@ou.edu wrote: On Wednesday, January 4, 2012, jeffsp jef...@gmail.com wrote: plt.tight_layout(), sweet it still makes the labels too close to read, even if they don't overlap. that is, they're just a continuous string of numbers