Hi Michael,
Michael Droettboom wrote:
Well, that was a good puzzle!
Glad I got your neurons firing.
This seems like a safe fix to me, but anyone who currently extends the
Wx Frame (meaning the whole window etc.) and is unknowingly compensating
for this effect may have problems after my
Well, that was a good puzzle!
It turns out that in the Wx backends, the figure is created at the
correct (requested) size, and then immediately the height is shrunk by
25 pixels (at least on my platform) when the status bar is added to the
window. By creating the status bar before the figure
Gary Ruben wrote:
The attached test.py
Oops. Here it is.
Gary R.
import matplotlib as mpl
#~ mpl.use('PDF')
#~ mpl.use('Agg')
#~ mpl.use('TkAgg')
mpl.use('WXAgg')
#~ mpl.use('SVG')
#~ mpl.use('PS')
from pylab import *
pts = 128
rcFig = {'figsize': (2,1),
'dpi': pts,