Re: [Matplotlib-users] controllin the background of a plot

2011-07-25 Thread robert rottermann
thanks ben, (sorry for sending answer twice) When you call savefig(), you can pass it the kwarg option of bbox_inches='tight' and that should help get rid of any extra area you may have. Ben Root I tried to follow your advice. however it did not help. This is what I do: - get the current

Re: [Matplotlib-users] matplotlib-py3 branch won't show in Ubuntu 10.04

2011-07-25 Thread Jorge Garcia
Thank you everyone for your help, In the end, I wasn't able to get Tkinter to register as the backend, so I downloaded and setup PyQt4. Once PyQt4 was setup, I changed the backend to Qt4Agg in the matplotlibrc file and that worked properly. Best Regards, Jorge Garcia On Wed, Jul 13, 2011 at

[Matplotlib-users] Matplotlib Dynamic Drag Pan/Zoom

2011-07-25 Thread Hugo H. P. Silva
Hi all, In a prior installation of matplotlib I recall being able to have real-time pan/zoom plot update while dragging the mouse (not only after releasing the left/right button). I've just updated my Python and PyLab configurations and now matplotlib only updates the plot after releasing the

Re: [Matplotlib-users] Matplotlib Dynamic Drag Pan/Zoom

2011-07-25 Thread Benjamin Root
On Sun, Jul 24, 2011 at 6:03 PM, Hugo H. P. Silva hugo...@gmail.com wrote: Hi all, In a prior installation of matplotlib I recall being able to have real-time pan/zoom plot update while dragging the mouse (not only after releasing the left/right button). I've just updated my Python and

Re: [Matplotlib-users] Matplotlib Dynamic Drag Pan/Zoom

2011-07-25 Thread Hugo Silva
Hi Ben, The matplotlib version is ''1.0.1'' and the backend is ''MacOSX''. I've checked the backend using the ''mpl.get_backend()'' function as I couldn't find ''.matplotlibrc'' in my home folder. Hugo Silva On Jul 25, 2011, at 3:15 PM, Benjamin Root wrote: On Sun, Jul 24, 2011 at

Re: [Matplotlib-users] plot() not using alpha value from RGBA tuple

2011-07-25 Thread Ben Breslauer
I think that I have found the problem here. Line2D.draw() (and I presume other Artist subclasses) calls gc.set_foreground(self._color) ... gc.set_alpha(self._alpha) self._color is defined by the color kwarg, whether it be a hex value, 3-tuple, 4-tuple, or something else. self._alpha is defined