Installation#
hvPlot supports Python 3.9 and above on Linux, Windows, or Mac. hvPlot can be installed with conda:
conda install hvplot
or with pip
:
pip install hvplot
Note that hvplot
needs to run in a Jupyter environment to automatically show output plots. However, if you are using a raw Python or IPython console, it is still possible to show the plots with hvplot.show()
or save the plots even if you cannot view them interactively. For versions of jupyterlab>=3.0
the necessary extension is automatically bundled in the pyviz_comms
package, which must be >=2.0. However note that for version of jupyterlab<3.0
you must also manually install the JupyterLab extension with:
conda install jupyterlab
jupyter labextension install @pyviz/jupyterlab_pyviz
To run the guides in this site create an environment with the required dependencies:
conda create -n hvplot-env -c conda-forge -c nodefaults hvplot geoviews datashader xarray pandas geopandas dask streamz networkx intake intake-xarray intake-parquet s3fs scipy spatialpandas pooch rasterio fiona plotly matplotlib jupyterlab