Skip to main content

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

Project description

hvPlot makes data analysis and visualization simple

Downloads https://pypistats.org/packages/hvplot https://anaconda.org/pyviz/hvplot
Build Status Build Status
Coverage codecov
Latest dev release Github tag dev-site
Latest release Github release PyPI version hvplot version conda-forge version defaults version
Python Python support
Docs gh-pages site
Binder Binder
Support Discourse

Home | Installation instructions | Getting Started Guide | Reference Guides | Examples | License | Support

hvPlot provides a familiar, high-level API for visualization

The API is based on the familiar Pandas .plot API and the innovative .interactive API.

hvPlot works with the tools you know and love

hvPlot

hvPlot is the simplest way to benefit from the HoloViz ecosystem for data exploration.

hvPlot can be used for exploration, reporting and data apps

Check out this blog post to see how easy it is to create an interactive dashboard with hvPlot and Panel.

Mini getting-started

Head over to the getting started guide for more!

Install

hvPlot can be installed on Linux, Windows, or Mac with conda:

conda install hvplot

or with pip:

pip install hvplot

Plotting data

Work with your data source:

import numpy as np
import pandas as pd

idx = pd.date_range('1/1/2000', periods=1000)
df  = pd.DataFrame(np.random.randn(1000, 4), index=idx, columns=list('ABCD')).cumsum()

Import the hvPlot extension for your data source and optionally set the plotting backend:

import hvplot.pandas
# Optional: hvplot.extension('matplotlib') or hvplot.extension('plotly')

Use the .hvplot API as you would use the Pandas or Xarray .plot API:

df.hvplot()

Interactive data apps

Just add .interactive and replace your normal arguments with Panel widgets or Ipywidgets.

import panel as pn
pn.extension()

df.interactive(width=600).head(n=pn.widgets.IntSlider(start=1, end=5, value=3))

How to find documentation from your notebook or editor

To see the available arguments for a specific kind of plot run

hvplot.help(kind='scatter')

In a notebook or ipython environment the usual

  • help and ? will provide you with documentation.
  • TAB and SHIFT+TAB completion will help you navigate.

License

hvPlot is completely free and open-source. It is licensed under the BSD 3-Clause License.

Support & Feedback

For more detail check out the HoloViz Community Guide.

Contributions

We would love to work with you no matter whether you want to contribute to issue management, PRs, documentation, blog posts, community support or social media communication.

To get started with the code or docs check out the Developer Guide.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

hvplot-0.11.2.tar.gz (7.0 MB view details)

Uploaded Source

Built Distribution

hvplot-0.11.2-py3-none-any.whl (161.9 kB view details)

Uploaded Python 3

File details

Details for the file hvplot-0.11.2.tar.gz.

File metadata

  • Download URL: hvplot-0.11.2.tar.gz
  • Upload date:
  • Size: 7.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for hvplot-0.11.2.tar.gz
Algorithm Hash digest
SHA256 b7ad1f2f1c705e47e26b22c89c11711a84f7774faaabab756b45e8d1e00a6010
MD5 bae5b94775e707eb81ee8b5638662162
BLAKE2b-256 1a6163b9b18e070aa810c7dd7be4d4f6e246c5ccf0d4ca9b39e0aeb04888c4c8

See more details on using hashes here.

File details

Details for the file hvplot-0.11.2-py3-none-any.whl.

File metadata

  • Download URL: hvplot-0.11.2-py3-none-any.whl
  • Upload date:
  • Size: 161.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for hvplot-0.11.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9d576a0c2df0f1cf5041545f2a2eddcf962510162876991cae4d1779fad74556
MD5 7ac884acaa71e076975e6e1eddf5403a
BLAKE2b-256 edd9466e22e60dd6b1eb09680d7155c47b58da17eda51bbaf4aad8392a45fe12

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page