Latest Release |
|
User forum |
|
PyPI Downloads |
|
License |
|
pip install plotly==4.6.0
Inside Jupyter notebook (installable with pip install "notebook>=5.3" "ipywidgets>=7.2"
):
import plotly.graph_objects as go
fig = go.Figure()
fig.add_trace(go.Scatter(y=[2, 1, 4, 3]))
fig.add_trace(go.Bar(y=[1, 4, 3, 2]))
fig.update_layout(title = 'Hello Figure')
fig.show()
See the Python documentation for more examples.
Read about what's new in plotly.py v4
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, standalone HTML files, or hosted online using Chart Studio Cloud.
Contact us for consulting, dashboard development, application integration, and feature additions.
- Online Documentation
- Contributing to plotly
- Changelog
- Code of Conduct
- Version 4 Migration Guide
- New! Announcing Dash 1.0
- Community forum
plotly.py may be installed using pip...
pip install plotly==4.6.0
or conda.
conda install -c plotly plotly=4.6.0
For use in the Jupyter Notebook, install the notebook
and ipywidgets
packages using pip...
pip install "notebook>=5.3" "ipywidgets==7.5"
or conda.
conda install "notebook>=5.3" "ipywidgets=7.5"