Re: [Matplotlib-users] how to make a colorbar starting with a different color?

2013-07-03 Thread ChaoYue
Thanks Ben. extendrect keyword is in mat 1.3, I didn't try this but I tried set_under and extend='min' with mat 1.2 and it works very nice. cheers, Chao On Tue, Jul 2, 2013 at 4:14 PM, Benjamin Root-2 [via matplotlib] ml-node+s1069221n41364...@n5.nabble.com wrote: There is the set_over and

Re: [Matplotlib-users] xlabel cropped

2013-07-03 Thread Florian Lindner
Am Mittwoch, 3. Juli 2013, 20:02:30 schrieb Florian Lindner: Hello! I have that snipped to create a plot: import matplotlib.pyplot as plt size = (6.1, 3.5) fig = plt.figure(figsize=size) plt.xlabel($x/l_F$) it's being saved as eps for latex. At the size given the F from l_F is

Re: [Matplotlib-users] xlabel cropped

2013-07-03 Thread Benjamin Root
Not a bother. This is a fairly common problem because matplotlib, by design, does not handle layouts for you. If you are looking for an automated way of handling this, there is plt.tight_layout(), which is a feature that was added in v1.2, IIRC, that tries adjusting certain spacing and size

Re: [Matplotlib-users] Reports from SciPy 2013

2013-07-03 Thread Damon McDougall
On Tue, Jul 2, 2013 at 11:57 PM, Nelle Varoquaux nelle.varoqu...@gmail.comwrote: On 2 July 2013 16:33, Anthony Scopatz scop...@gmail.com wrote: On Tue, Jul 2, 2013 at 9:04 AM, Jason Grout jason-s...@creativetrax.com wrote: On 7/1/13 9:33 AM, Michael Droettboom wrote: SciPy 2013

[Matplotlib-users] v.0.99.1.1 DeprecationWarning: Use the new widget gtk.Tooltip() self.tooltips = gtk.Tooltips()

2013-07-03 Thread David Jonathan Pryce Morris
I am new to python and when using Matplotlib 0.99.1.1 [Scientific Linux 6.3, Python 2.6] to plot I get the following error: /usr/lib64/python2.6/site-packages/matplotlib/backends/backend_gtk.py:621: DeprecationWarning: Use the new widget gtk.Tooltip self.tooltips = gtk.Tooltips() This is when

[Matplotlib-users] Smooth animations

2013-07-03 Thread v0idnull
I am receiving a number from a server every two seconds. I would like to plot this number.out over time for the past say... 30 polls. Would it be possible to use... Anything, to produce a smooth animation of the plot line getting drawn? As it stands now the animation is well... Quite choppy.