Graphing with bottle py on the onion



  • Hey guys ive run into a bit of a wall here, I would like to use the onion to display a few graphs from the sensors i have connected.

    now bottle is installed and running fine and i have the data displayed in a very basic format.

    I wanted to use Matplotlib however this dose not look like it is possible.

    Is there a basic library that i can use the will work with bottle py to make graphs.

    thanks in advance for any help šŸ˜ƒ



  • You should look for Javascript libraries instead of Python libraries. The advantage is that it takes no processing power on your Omega and take no space (just some text in your HTML file). They also look really good.

    Use the template system of Bottle.py to generate the data for the client.
    http://bottlepy.org/docs/dev/stpl.html

    If you want real time data, you can do some fancy stuff with JQuery/Ajax.

    First link on Google : http://www.sitepoint.com/15-best-javascript-charting-libraries/



Looks like your connection to Community was lost, please wait while we try to reconnect.