Hello,

Is there a way to find out the optimal resolution that an array (of a given
aspect ratio) should have, so that imshow will not re-scale it on a
pixel-based backend?

Some background: I'm preparing an array that has a native resolution, so for
PDF output I use imshow with interpolation='none'.  For PNG-output, however,
the array has to be rescaled.  I would prefer to prepare the array in the
correct resolution right away.

Thanks in advance,
Christoph



------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to