Real-time browser based visualization and interactivity
Python JavaScript CSS HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
static
templates
README.md
iconsole.py
test_plot.py

README.md

Console is simple Python framework for real-time web plotting. The plots are served using Tornado, ZeroMQ, and WebSockets. Rendering is done with d3.js. Here's an example:

from iconsole import IConsole
ic = IConsole()
fig1 = ic.create_plot().title('Random Walk 1').data(np.cumsum(np.random.randn(1024)))
fig2 = ic.create_plot().title('Random Walk 2').data(np.cumsum(np.random.randn(1024)))

Run this and head to http://localhost:8080 to see the results, which should look roughly like this

Currently there is support for xrange and yrange as well. All figure operations support chaining, can be changed on-the-fly, and only data is require for display. Mobile-scale output is supported through CSS media queries.