mdipierro / canvas

canvas is a simple interface to most common matplotlib functions
42 stars 7 forks source link

How to include the binary representation of a png file in a view file? #4

Closed tschm closed 11 years ago

tschm commented 11 years ago

Hi Massimo, I am not that familiar with html but I would like to create a web application similar to my my pandas monitor. Any help is very appreciated...

I have the binary representation of a png file but what's next? ` ?

Any help is very appreciated thomas

mdipierro commented 11 years ago

You should use a web framework. If you use web2py, the example is posted. Basically you just need to create a python function that returns the PNG data. Web2py will automatically map a URL into your function call. Feel free to join the web2py mailing list for more options. https://groups.google.com/forum/#!forum/web2py