plotly

An open-source interactive data visualization library for Python

317 个版本 Python >=3.8
安装
pip install plotly
poetry add plotly
pipenv install plotly
conda install plotly
描述

plotly.py

Latest Release
User forum
PyPI Downloads
License

Quickstart

pip install plotly

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

See the Python documentation for more examples.

Overview

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

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 either the kaleido package (recommended, supported as of plotly version 4.9) or the orca command line utility (legacy as of plotly version 4.9).

Kaleido

The kaleido package has no dependencies and can be installed using pip

pip install -U kaleido

or conda

conda install -c conda-forge python-kaleido

Extended Geo Support

Some plotly.py features rely on fairly large geographic shape files. The county choropleth figure factory is one such example. These shape files are distributed as a separate plotly-geo package. This package can be installed using pip...

pip install plotly-geo==1.0.0

or conda

conda install -c plotly plotly-geo=1.0.0

plotly-geo can be found on Github at https://github.com/plotly/plotly-geo.

Code and documentation copyright 2019 Plotly, Inc.

Code released under the MIT license.

Docs released under the Creative Commons license.

版本列表
6.8.0 2026-06-03
6.7.0 2026-04-09
6.6.0 2026-03-02
6.5.2 2026-01-14
6.5.1 2026-01-07
6.5.0 2025-11-17
6.4.0 2025-11-04
6.3.1 2025-10-02
6.3.0 2025-08-12
6.2.0 2025-06-26
6.1.2 2025-05-27
6.1.1 2025-05-20
6.1.0 2025-05-15
6.1.0rc0 2025-05-02
6.1.0b0 2025-03-31
6.0.1 2025-03-17
6.0.0 2025-01-28
6.0.0rc0 2024-11-27
5.24.1 2024-09-12
5.24.0 2024-08-29
5.23.0 2024-07-23
5.22.0 2024-05-01
5.21.0 2024-04-17
5.20.0 2024-03-13
5.19.0 2024-02-15
5.18.0 2023-10-25
5.17.0 2023-09-15
5.16.1 2023-08-16
5.16.0 2023-08-11
5.15.0 2023-06-08
5.14.1 2023-04-05
5.14.0 2023-03-29
5.13.1 2023-02-24
5.13.0 2023-01-23
5.12.0 2023-01-13
5.11.0 2022-10-27
5.10.0 2022-08-11
5.9.0 2022-06-24
5.8.2 2022-06-10
5.8.1 2022-06-08
5.8.0 2022-05-11
5.7.0 2022-04-05
5.6.0 2022-02-09
5.5.0 2021-12-21
5.4.0 2021-11-15
5.3.1 2021-09-01
5.3.0 2021-08-30
5.2.2 2021-08-23
5.2.1 2021-08-14
5.2.0 2021-08-13
5.1.0 2021-06-28
5.0.0 2021-06-21
5.0.0rc2 2021-06-07
5.0.0rc1 2021-05-31
4.14.3 2021-01-12
4.14.2 2021-01-11
4.14.1 2020-12-09
4.14.0 2020-12-07
4.13.0 2020-11-23
4.12.0 2020-10-23
4.11.0 2020-10-01
4.10.0 2020-09-10
4.9.0 2020-07-16
4.9.0rc1 2020-07-15
4.8.2 2020-06-26
4.8.1 2020-05-29
4.8.0 2020-05-26
4.7.1 2020-05-08
4.7.0 2020-05-06
4.6.0 2020-04-01
4.5.4 2020-03-11
4.5.3 2020-03-06
4.5.2 2020-02-25
4.5.1 2020-02-19
4.5.0 2020-01-22
4.5.0rc1 2020-01-22
4.4.1 2019-12-10
4.4.0 2019-12-10
4.3.0 2019-11-12
4.2.1 2019-10-18
4.2.0 2019-10-16
4.1.1 2019-09-03
4.1.0 2019-08-07
4.1.0rc3 2019-08-06
4.1.0rc2 2019-08-06
4.1.0rc1 2019-08-04
4.0.0 2019-07-16
4.0.0rc1 2019-07-09
4.0.0a9 2019-07-04
4.0.0a8 2019-07-01
4.0.0a7 2019-07-01
4.0.0a6 2019-07-01
4.0.0a5 2019-07-01
4.0.0a4 2019-06-20
4.0.0a3 2019-06-18
4.0.0a2 2019-06-15
4.0.0a10 2019-07-08
4.0.0a1 2019-06-15
3.10.0 2019-05-31
3.10.0rc1 2019-05-29
3.9.0 2019-05-06
3.9.0rc1 2019-05-06
3.8.1 2019-04-19
3.8.0 2019-04-15
3.8.0rc1 2019-04-12
3.7.1 2019-03-19
3.7.0 2019-03-08
3.7.0rc1 2019-03-07
3.6.1 2019-02-08
3.6.0 2019-02-01
3.6.0rc1 2019-01-26
3.5.0 2019-01-04
3.5.0rc1 2019-01-03
3.4.2 2018-11-23
3.4.1 2018-11-09
3.4.0 2018-11-02
3.4.1rc1 2018-11-07
3.4.0rc1 2018-11-02
3.3.0 2018-09-28
3.3.0rc1 2018-09-26
3.2.1 2018-09-14
3.2.0 2018-09-05
3.2.1rc1 2018-09-10
3.2.0rc1 2018-09-04
3.2.0a2 2018-08-26
3.2.0a1 2018-08-26
3.1.1 2018-08-10
3.1.0 2018-07-21
3.1.1rc1 2018-08-07
3.1.0rc1 2018-07-20
3.0.2 2018-07-17
3.0.0 2018-07-05
3.0.0rc9 2018-06-13
3.0.0rc8 2018-06-13
3.0.0rc7 2018-06-13
3.0.0rc6 2018-06-13
3.0.0rc5 2018-06-12
3.0.0rc4 2018-06-12
3.0.0rc3 2018-06-12
3.0.0rc2 2018-06-12
3.0.0rc11 2018-07-04
3.0.0rc10 2018-06-27
3.0.0rc1 2018-03-05
2.7.0 2018-05-23
2.6.0 2018-05-09
2.5.1 2018-03-26
2.5.0 2018-03-12
2.4.1 2018-02-21
2.4.0 2018-02-16
2.3.0 2018-01-26
2.2.3 2017-12-05
2.2.2 2017-11-23
2.2.1 2017-10-26
2.2.0 2017-10-26
2.1.0 2017-10-11
2.0.16 2017-10-06
2.0.15 2017-08-23
2.0.14 2017-08-09
2.0.13 2017-08-04
2.0.12 2017-07-01
2.0.11 2017-06-21
2.0.10 2017-06-12
2.0.9 2017-05-31
2.0.8 2017-04-26
2.0.7 2017-04-07
2.0.6 2017-03-20
2.0.5 2017-03-07
2.0.2 2017-02-20
2.0.1 2017-02-07
2.0.0 2017-01-25
1.13.0 2017-01-12
1.12.12 2016-12-07
1.12.11 2016-12-01
1.12.10 2016-11-28
1.12.9 2016-08-23
1.12.8 2016-08-19
1.12.7 2016-08-17
1.12.6 2016-08-10
1.12.5 2016-08-03
1.12.4 2016-07-14
1.12.3 2016-07-09
1.12.2 2016-06-20
1.12.1 2016-06-14
1.12.0 2016-06-06
1.11.0 2016-05-27
1.10.0 2016-05-20
1.9.13 2016-05-19
1.9.12 2016-05-17
1.9.11 2016-05-16
1.9.10 2016-04-27
1.9.9 2016-04-16
1.9.8 2016-04-14
1.9.7 2016-04-04
1.9.6 2016-02-19
1.9.5 2016-01-17
1.9.4 2016-01-11
1.9.3 2015-12-08
1.9.2 2015-12-01
1.9.1 2015-11-27
1.9.0 2015-11-17
1.8.12 2015-11-02
1.8.11 2015-10-28
1.8.8 2015-10-20
1.8.6 2015-10-01
1.8.5 2015-09-29
1.8.4 2015-09-17
1.8.3 2015-08-14
1.8.2 2015-08-12
1.8.1 2015-08-10
1.8.0 2015-07-31
1.7.9 2015-07-29
1.7.7 2015-07-20
1.7.6 2015-07-10
1.7.5 2015-07-08
1.7.4 2015-07-06
1.7.3 2015-07-06
1.7.2 2015-07-03
1.7.1 2015-07-03
1.7.0 2015-07-03
1.6.19 2015-07-01
1.6.17 2015-05-11
1.6.16 2015-04-20
1.6.15 2015-04-09
1.6.14 2015-03-27
1.6.13 2015-03-18
1.6.12 2015-03-13
1.6.11 2015-03-11
1.6.10 2015-03-05
1.6.9 2015-02-27
1.6.8 2015-02-21
1.6.7 2015-02-20
1.6.6 2015-01-27
1.6.4 2015-01-22
1.5.0 2015-01-13
1.4.14 2014-12-23
1.4.13 2014-12-22
1.4.12 2014-12-17
1.4.11 2014-12-12
1.4.10 2014-12-12
1.4.9 2014-12-11
1.4.7 2014-11-19
1.4.5 2014-11-17
1.4.4 2014-11-15
1.4.3 2014-11-14
1.4.2 2014-11-11
1.4.1 2014-11-09
1.4.0 2014-11-07
1.3.2 2014-11-04
1.3.1 2014-10-23
1.3.0 2014-10-15
1.2.9 2014-09-24
1.2.8 2014-09-18
1.2.7 2014-08-25
1.2.6 2014-07-24
1.2.4 2014-07-22
1.2.3 2014-07-21
1.2.2 2014-07-20
1.2.1 2014-07-19
1.2.0 2014-07-18
1.1.4 2014-07-08
1.1.3 2014-07-07
1.1.2 2014-07-04
1.1.1 2014-07-02
1.1.0 2014-06-30
1.0.34 2014-06-26
1.0.33 2014-06-23
1.0.32 2014-06-22
1.0.31 2014-06-21
1.0.30 2014-06-18
1.0.29 2014-06-18
1.0.28 2014-06-18
1.0.27 2014-06-17
1.0.26 2014-06-05
1.0.25 2014-06-04
1.0.24 2014-06-04
1.0.23 2014-06-04
1.0.22 2014-05-29
1.0.21 2014-05-29
1.0.20 2014-05-29
1.0.19 2014-05-22
1.0.18 2014-05-21
1.0.17 2014-05-21
1.0.16 2014-05-21
1.0.15 2014-05-21
1.0.14 2014-05-15
1.0.13 2014-05-15
1.0.12 2014-05-15
1.0.11 2014-05-15
1.0.10 2014-05-15
1.0.9 2014-05-13
1.0.8 2014-05-13
1.0.7 2014-05-09
1.0.6 2014-05-09
1.0.5 2014-05-09
1.0.4 2014-05-09
1.0.3 2014-05-08
1.0.2 2014-05-07
1.0.1 2014-05-04
1.0.0 2014-05-03
0.5.13 2014-03-16
0.5.12 2014-03-16
0.5.11 2014-03-08
0.5.10 2014-03-06
0.5.9 2014-02-22
0.5.8 2014-02-19
0.5.7 2013-12-25
0.5.6 2013-12-06
0.5.5 2013-12-06
0.5.4 2013-11-30
0.5.3 2013-11-30
0.5.2 2013-11-30
0.5.1 2013-11-11
0.5 2013-10-16
0.4 2013-06-29
0.3 2013-06-29
0.2 2013-06-12