Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »
Hari
Anybody have recommendations for a python library that does cool graphics and text outputs to pdf and png - planning on generating some reports in an app I am writing
matplotlib - Rajarshi Guha
svgfig / cairo - Michael Kuhn
reportlab - Paul J. Davis
i use mostly matplotlib, but also the python imaging library to do some finishing touches like cutting and pasting, cropping, imagine resizing, text, and basic drawing elements. - Bosco Ho
Thanks everyone . I have started playing around with the matplotlib examples. What I want to generate is a 96 well plate with a color histogram or bars , to reflect concentration of two to three crystallization reagent concentrations . Overlayed on this graphical representation would be associated concentrations in numbers. - Hari
I guess you can get some idea with recent post of Rajarshi Guha where he implemented Plate Well Series Plots in R http://blog.rguha.net/?p=388 - Abhishek Tiwari
While we're on the subject can anyone point me in the direction of some matplotlib code or examples that output directly to a graphics file (i.e. without plotting to the screen). Thinking about making a simple web service for some data fitting. Actually if there is a nice example of using matplotlib to plot into a rendered screen in AppEngine that would be very cool as well. Or a list of curve fitting type services built on AppEngine. - Cameron Neylon
@Cameron, basically you need to use a backend that doesn't require X. Example http://helpful.knobs-dials.com/index... - Rajarshi Guha
Really hoping that someone has written a class that can print out reports for 96 well plates . Really hoping for something that gives fine grained access like grid(A,12).setbackgroundcolor(red) - currently struggling with layouts and font sizes and such in reportlab . - Hari
Why not display a heatmap type image of a matrix representing the plate (http://pyweaver.worldhoppers.org/api...) - Rajarshi Guha
Hey Rajarshi thanks for the pointer to pyweaver. I will start looking at ,matplot lib to generate graphics: In the meantime I Have used reportlab . Thanks a lot Paul J .Davis for pointing me to this. Reportlab now generates pretty pdfs of my dispence lists . My pdf generation code is not super object oriented yet..but a todo for the future. You can see a report ( work in progress ) at this URL http://github.com/harijay... - Hari