Andy Davidson
2016-02-27 03:04:18 UTC
Hi
I currently have a plot that gets update in a loop with data from a
remote system. It works and looks great. (matplotlib rocks!) I currently
use
%matplotlib inline
Now I need to make the graph interactive. By interactive I mean I would
like the user to be able to
1. move the mouse to get info about that point in the graph
2. Click on a point on the graph to do some sort of drill down. I¹ll
probably need to fetch additional data, to display. The data might be
text or some sort of table to display
3. Scroll the graph along it¹s x and y axis
4. Add a couple of widgets that let users select parameters of the graph
or underlying data set
Googling around I found people mention several choices
1) %matplotlib notebook¹ and the nbagg backend, how ever I have not been
able to find any documentation or code tutorials, or examples
2) Plot.ly https://plot.ly/python/ipython-notebook-tutorial/
3) Python widgets for the Jupiter Notebook
https://github.com/ipython/ipywidgets
Any comments or suggestions would be appreciated.
Kind regards
Andy
I currently have a plot that gets update in a loop with data from a
remote system. It works and looks great. (matplotlib rocks!) I currently
use
%matplotlib inline
Now I need to make the graph interactive. By interactive I mean I would
like the user to be able to
1. move the mouse to get info about that point in the graph
2. Click on a point on the graph to do some sort of drill down. I¹ll
probably need to fetch additional data, to display. The data might be
text or some sort of table to display
3. Scroll the graph along it¹s x and y axis
4. Add a couple of widgets that let users select parameters of the graph
or underlying data set
Googling around I found people mention several choices
1) %matplotlib notebook¹ and the nbagg backend, how ever I have not been
able to find any documentation or code tutorials, or examples
2) Plot.ly https://plot.ly/python/ipython-notebook-tutorial/
3) Python widgets for the Jupiter Notebook
https://github.com/ipython/ipywidgets
Any comments or suggestions would be appreciated.
Kind regards
Andy