I’m considering using Matplotlib to programmatically generate
images for a web-based application. I want some specific information
about contour plot images produced by Matplotlib and I was wondering if it was
easy/possible to get this information.
Imagine a contour plot rendered to a .png. For
simplicity, assume the size is 1000x1000 pixels. Of course, this image
has white-space, axes, axis labels, perhaps a colorbar, etc. The actual
contour part, showing the data, is smaller than 1000x1000 pixels. I’d
like to know:
n the size
(in pixels) of the actual contour part of the generated .png
n the offset
(in pixels) from the bottom left hand corner of the actual contour part
Of course if pixel information isn’t possible, offset
and size as a percentage of the total image size would be fine.
Thanks,
-Dan
···
Dan Karipides
karipid@…1873…