python - Matplotlib as a web plug-in -
i have python code scientific research solves complicated differential equations , produces few gbs of data, in end produces series of plots using matplotlib
. , goal provide result many users possible, use multiple platforms.
so far i've been developing tkinter
frontend program can run locally windows, linux, , mac, found quite difficult make work on every platform without problem.
one cheap alternative making simple cgi provides users png files of plots, instead of want build web frontend program runs on server , users can run , plots via web interface. there api of matplotlib
, or web server script such purpose?
i web frontend have of functionality of matplotlib
, zooming in/out, panning, , using third-party plugins mpldatacursor
.
check out mpld3; brings matplotlib browser through popular d3.js javascript library.
here's example of scatter plot tooltips , zoom capability.
Comments
Post a Comment