Skip to main content

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

Project description

hvPlot

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 | Gallery | Reference | 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.12.1.tar.gz (7.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hvplot-0.12.1-py3-none-any.whl (175.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hvplot-0.12.1.tar.gz
  • Upload date:
  • Size: 7.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for hvplot-0.12.1.tar.gz
Algorithm Hash digest
SHA256 66f4c9dbb7e5580c09ade55b14864ff6fcc96ed9ce11f7b67e9eb7072e2ed875
MD5 8781d72e17ae2b74c68c632ad4ea859f
BLAKE2b-256 fe5db067021c7dedfbe45c43b2e34287430320942d63814eeafed0bfabc35c3e

See more details on using hashes here.

Provenance

The following attestation bundles were made for hvplot-0.12.1.tar.gz:

Publisher: build.yaml on holoviz/hvplot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: hvplot-0.12.1-py3-none-any.whl
  • Upload date:
  • Size: 175.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for hvplot-0.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 034b5061cba597877f85dd427523364f11677d9d04c5e845c17e6d733a7bfaed
MD5 72ba3b57e5145617e9a94f5c82b614bb
BLAKE2b-256 60f599be28b5d19644343f51391841dadf48b91ade96c1885e1630727cbcb4bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for hvplot-0.12.1-py3-none-any.whl:

Publisher: build.yaml on holoviz/hvplot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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