[CentralOH] Python Graphics Library(ies)

Eric Floehr eric at intellovations.com
Mon Feb 10 19:18:26 CET 2014


>
> From a two-dimensional array of monochrome intensities,
>
> 1. I need to view pictures within ipython notebook, and
>

Matplotlib's imshow() function[1] can take an 2D array-like and plot it[2].
I think it should do what you need.


2. generate PDF files of the images.
>

Matplotlib has a PDF backend that might help[3].


[1] http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.imshow

[2] http://matplotlib.org/users/image_tutorial.html

[3]
http://matplotlib.org/faq/howto_faq.html#save-multiple-plots-to-one-pdf-file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/centraloh/attachments/20140210/0aeb6216/attachment.html>


More information about the CentralOH mailing list