Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The interactive graphing library for Python ✨

License

NotificationsYou must be signed in to change notification settings

plotly/plotly.py

Repository files navigation

Latest Release
User forum
PyPI Downloads
License
Maintained by Plotly

Quickstart

pip install plotly

importplotly.expressaspxfig=px.bar(x=["a","b","c"],y=[1,3,2])fig.show()

See thePython documentation for more examples.

Overview

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

Built on top ofplotly.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 isMIT Licensed. Plotly graphs can be viewed in Jupyter notebooks, standalone HTML files, or integrated intoDash 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, installjupyter andanywidgetpackages usingpip:

pip install jupyter anywidget

orconda:

conda install jupyter anywidget

Static Image Export

plotly.py supportsstatic image export,using either thekaleidopackage (recommended, supported as ofplotly version 4.9) or theorcacommand line utility (legacy as ofplotly version 4.9).

Kaleido

Thekaleido package has no dependencies and can be installedusing 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 countychoropleth figure factory is one such example. These shape files are distributed as aseparateplotly-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 athttps://github.com/plotly/plotly-geo.

Copyright and Licenses

Code and documentation copyright 2019 Plotly, Inc.

Code released under theMIT license.

Docs released under theCreative Commons license.


[8]ページ先頭

©2009-2025 Movatter.jp