As you can see fastplot its still at an early-stage... please help
How to install it:
Now you should be able to execute the
fastplot command everywhere in your machine and see the message:
Running fastplot server...
Install fastplot python library
``` Installed /Library/Python/2.7/site-packages/fastplot-0.0.1-py2.7.egg Processing dependencies for fastplot==0.0.1 Finished processing dependencies for fastplot==0.0.1 ```
How to use it:
- From your console type
fastplotin order to run the server
- Now you are free to run your python script using the
An example of a minimal python script:
from fastplot import fastplot import numpy as np while True: # whatever you are gonna do # compute some values msg_1 = np.random.uniform(0,1,30) msg_2 = np.random.uniform(0,1,(10,10)) msg_3 = np.random.uniform(0.4,1,20) # use fastplot to plot those values in the browser... fastplot.plot( 'Example of line plot', msg_1 ) fastplot.pcolor( 'Example of pcolor', msg_2 ) fastplot.barplot( 'Example of line barplot', msg_3 )
Instructions were tested on Yosemite (Mac) and assumed to work fine on Unix systems.
If you get insights on other platforms or you're aware of issues, please let me know.