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
Ok, your version is quite old, and might be older than when the
bbox_inches='tight' feature was added. Unfortunately, the way savefig
was designed, I think it would swallow extra kwargs.
The current matplotlib is version 1.0.1, and we are getting close to
cutting a new v1.1.0 release.
Hi there,
I am creating an image with mathplotlib. This image is then shown an a web page.
now ma question.
the Image is set in a large gray area. I assume it is the space needed for the
axis which I do not show.
How can I suppress this gray background?
thanks
robert
here the code I use to
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
On 23/07/11 23:17, Benjamin Root wrote:
On Sat, Jul 23, 2011 at 2:53 PM, robert rottermann
robert.rotterm...@gmx.ch mailto:robert.rotterm...@gmx.ch wrote:
thanks ben,
(sorry for sending answer twice)
When you call savefig(), you can pass it the kwarg option of
bbox_inches
who ever migth be interested:
I achieved my goal in drawing lines trough a set of points using the path modul.
http://matplotlib.sourceforge.net/users/path_tutorial.html
robert
On 20.07.2011 20:49, robert rottermann wrote:
hi there,
I would like to draw a a set of lines on top of an image
hi there,
I would like to draw a a set of lines on top of an image.
Somehow I do not get the result I want
these are the points ((267, 140), (380, 773), (267, 958))
one of my divers atempts is:
pic = plt.imread('../hlwd/effizienz_balken_01.jpg')
pic = np.fliplr(np.rot90(pic, k=2))
On 15.07.2011 17:56, Benjamin Root wrote:
On Fri, Jul 15, 2011 at 10:49 AM, robert rob...@redcor.ch
mailto:rob...@redcor.ch wrote:
Hi there,
I am all new to mathlib world..
What I try to do is plotting some charts over an image.
I would be very grateful, if somebody could