Fastplot takes advantage of the rendering capabilities of modern web-browsers and Javascript to [really] quickly update visualisations. Get the best of both worlds: Python to compute, JavaScript to render.
As you can see fastplot its still at an early-stage... please help 🍻
Now you should be able to execute the fastplot command everywhere in your machine and see the message:
Running fastplot server...
``` 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 ``` :+1:
- From your console type
fastplotin order to run the server - Now you are free to run your python script using the
fastplotlibrary
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.
