Depends on Bokeh library for plotting. On Ubuntu/Debian run:
sudo pip install bokeh django
Intall via conda:
conda install bokeh django
- Start the bokeh-server (
bokeh_server
) - Run the django server (
python manage.py runserver
) - Go to http://localhost:8000
To save the manipulator file, a helper function is given below
def save_manipulator(m):
import pickle
with open("manipulator", "w") as f:
f.write(pickle.dumps(m))
def load_manipulator():
import pickle
with open("manipulator", "r") as f:
return pickle.loads(f.read())
return None