Hello,
When I use Figure.autofmt_xdate (it uses rotation by default) the
graph is not moved/scaled so it is cropped in the image.
I noticed this problem when I was trying to crop white border in
images using bbox_inches='tight' and pad_inches=0 in Figure.savefig.
There are attached:
* Simple code to reproduce the bug
* Output images of two cases (with and without bbox_inches + pad_inches)
My system's info:
- uname -a: Linux E04679 2.6.38-13-generic #53-Ubuntu SMP Mon Nov 28
19:33:45 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
- matplotlib version: 0.99.3, installed using pip
- Nothing in matplotlibrc
- Nothing special in verbose options
Thanks,
bug-crop.py (482 Bytes)
···
--
Álvaro Justen "Turicas"
http://blog.justen.eng.br http://twitter.com/turicas
http://CursoDeArduino.com.br http://github.com/turicas
+55 21 9898-0141