What: Use Dygraphs within Jupyter notebooks
Why: Interactive explorative data analysis
How: Use jupyter_dygraphs for dygraphs plots within Jupyter
Installation
Jupyter_dygraphs can be easily imported directly from github:
1 | pip install git+https://github.com/frankdressel/jupyter_dygraphs.git#egg=jupyter_dygraphs |
Usage
Import the jupyter_dygraphs module into your notebook:
1 | from jupyter_dygraphs import jupyter_dygraphs |
Call the _dygraphplot_ function with dictionaries containing the pandas data frame and plot options:
1 2 3 4 5 6 7 8 9 | jupyter_dygraphs.dygraphplot({ 'df': pandas.read_csv('https://moduliertersingvogel.de/wp-content/uploads/2018/05/temperatures.csv'), 'options': { 'title': 'Title for test plot', 'xlabel': 'Date', 'ylabel': 'Temperature' } }) |
Example plot
Further information
See github.