Skip to main content

plotly.py

Latest Release
User forum
PyPI Downloads
License

Quickstart

Graph Objects

pip install plotly
import plotly.graph_objects as go
fig = go.Figure()
fig.add_trace(go.Bar(x=["a", "b", "c"], y=[1, 3, 2]))
fig.show()

Plotly Express

pip install plotly[express]
import plotly.express as px
fig = px.bar(x=["a", "b", "c"], y=[1, 3, 2])
fig.show()

You'll also need to install a supported dataframe library.

See the Python documentation for more examples.

Overview

plotly.py is an interactive, open-source, and browser-based graphing library for Python ✨

Built on top of plotly.js, plotly.py is a high-level, declarative charting library. plotly.js ships with over 30 chart types, including scientific charts, 3D graphs, statistical charts, SVG maps, financial charts, and more.

plotly.py is MIT Licensed. Plotly graphs can be viewed in Jupyter notebooks, other Python notebook software such as marimo, as standalone HTML files, or integrated into Dash applications.

Contact us for consulting, dashboard development, application integration, and feature additions.



Installation

plotly.py may be installed using pip

pip install plotly

or conda.

conda install -c conda-forge plotly

Jupyter Widget Support

For use as a Jupyter widget, install jupyter and anywidget packages using pip:

pip install jupyter anywidget

or conda:

conda install jupyter anywidget

Static Image Export

plotly.py supports static image export, using the kaleido package (version 1.0 or greater).

Kaleido has minimal dependencies and can be installed using pip

pip install -U kaleido

or conda

conda install -c conda-forge python-kaleido

Kaleido requires Chrome or Chromium to generate images. By default, Kaleido will use the Chrome or Chromium version already installed on your system. If you don't have it installed or Kaleido can't find it, you may need to install it by running the command:

plotly_get_chrome

on your command line.

Code and documentation copyright 2026 Plotly, Inc.

Code released under the MIT license.

Docs released under the Creative Commons license.

Metadata

Release files for plotly 7.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plotly 7.2.0
File Size Uploaded Provenance Actions
plotly-7.2.0.tar.gz 6.7 MB With provenance Details for plotly-7.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for plotly 7.2.0
File Interpreter ABI Platform Actions
plotly-7.2.0-py3-none-any.whl Python 3 none any Details for plotly-7.2.0-py3-none-any.whl

Total release size: 16.4 MB

Release files / plotly-7.2.0.tar.gz

Download URL plotly-7.2.0.tar.gz
Size 6.7 MB
Tags Source
SHA-256 checksum
How to use checksums
0c8299da0556ba9bf18d157f23982d189b627492a6c3cafba9d010b1b6ccb746
BLAKE2b-256 checksum
How to use checksums
4023ed969530891a2fd44991f9d4c733ff349d87903b11d75366f1dee607f3ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / plotly-7.2.0-py3-none-any.whl

Download URL plotly-7.2.0-py3-none-any.whl
Size 9.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
51ed86a5e71b0abfe4df9679a1da0564f9e7e93d5dc7cb35d433256b2cfce854
BLAKE2b-256 checksum
How to use checksums
f84386c04582164c54476d4dae5c053af82ba70b975f5babbf183ae6e51159b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for plotly 7.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for plotly-7.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

7.2.0 This release

2 release files Full provenance

1.6.18

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page