Supporting Libraries / Dependencies
To work with plotly, verify that the Python environment has the supporting libraries installed either via
pip or through the Anaconda distribution, which should install them as part of the plotly package automatically.
- cufflinks (install via pip, not available in conda)
- Reference: https://github.com/santosjorge/cufflinks
- chart-studio (install via pip, not available in conda)
Python API Reference
Python API reference for plotly - 4.14.1 documentation
This is the reference of plotly's API. Also see plotly's documentation website.
The gallery (Example) section of the website includes many examples of graphs and relevant code to generate them.
Plotly Python Graphing Library
Plotly's Python graphing library makes interactive, publication-quality graphs. Examples of how to make line plots, scatter plots, area charts, bar charts, error bars, box plots, histograms, heatmaps, subplots, multiple-axes, polar charts, and bubble charts. Plotly.py is free and open source and you can view the source, report issues or contribute on GitHub.
Built-in Continuous Color Scales
Many Plotly Express functions accept a color_continuous_scale argument and many trace types have a colorscale attribute in their schema. Plotly comes with a large number of built-in continuous color scales, which can be referred to in Python code when setting the above arguments, either by name in a case-insensitive string e.g.