Skip to main content

A high-level plotting API for the PyData ecosystem built on HoloViews.

Project description

hvPlot

A high-level plotting API for the PyData ecosystem built on HoloViews.

Build Status Build Status
Coverage Coverage Status
Latest dev release Github tag
Latest release Github release PyPI version hvplot version conda-forge version defaults version
Docs gh-pages site

What is it?

The PyData ecosystem has a number of core Python data containers that allow users to work with a wide array of datatypes, including:

  • Pandas: DataFrame, Series (columnar/tabular data)
  • XArray: Dataset, DataArray (multidimensional arrays)
  • Dask: DataFrame, Series, Array (distributed/out of core arrays and columnar data)
  • Streamz: DataFrame(s), Series(s) (streaming columnar data)
  • Intake: DataSource (data catalogues)
  • GeoPandas: GeoDataFrame (geometry data)
  • NetworkX: Graph (network graphs)

Several of these libraries have the concept of a high-level plotting API that lets a user generate common plot types very easily. The native plotting APIs are generally built on Matplotlib, which provides a solid foundation, but means that users miss out the benefits of modern, interactive plotting libraries for the web like Bokeh and HoloViews.

hvPlot provides a high-level plotting API built on HoloViews that provides a general and consistent API for plotting data in all the abovementioned formats. hvPlot can integrate neatly with the individual libraries if an extension mechanism for the native plot APIs is offered, or it can be used as a standalone component.

To start using hvplot have a look at the Getting Started Guide and check out the current functionality in the User Guide.

Installation

hvPlot supports Python 2.7, 3.5, 3.6 and 3.7 on Linux, Windows, or Mac and can be installed with conda:

conda install -c pyviz hvplot

or with pip:

pip install hvplot

In the classic Jupyter notebook environment and JupyterLab objects returned by hvPlot will then render themselves if they are the last item in a notebook cell. 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:

jupyter labextension install @pyviz/jupyterlab_pyviz

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hvplot, version 0.7.1
Filename, size File type Python version Upload date Hashes
Filename, size hvplot-0.7.1-py2.py3-none-any.whl (3.1 MB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size hvplot-0.7.1.tar.gz (6.0 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page