How to remove the grey border in the plotting?

Hello,

I wrote a Python application using GTK+ and Matplotlib. I normally use
the application in full screen mode (1680x1050). There is a big gray
border. You can reproduce it using the embedding_in_gtk.py from the
examples and full screen it.

How can I remove this grey border? The numbers on the axes should not be
cropped.

Regards,
Benjamin Drung

Hello Benjamin,

I think you should use an other kind of an axes. Instead of pylba.subplot(111)
(or fig.add_subplot(111)), you could use pylab.axes([0.0, 0.0, 1.0, 1.0])
with the values (left, bottom, width, height) to avoid the gray border.

regards Matthias

ยทยทยท

On Wednesday 09 April 2008 20:37:08 Benjamin Drung wrote:

Hello,

I wrote a Python application using GTK+ and Matplotlib. I normally use
the application in full screen mode (1680x1050). There is a big gray
border. You can reproduce it using the embedding_in_gtk.py from the
examples and full screen it.

How can I remove this grey border? The numbers on the axes should not be
cropped.

Regards,
Benjamin Drung