Python:Plotly
Plotly is a Python library for creating interactive visualizations and charts, offering a variety of visualization options like line graphs, bar charts, heatmaps, and scatter plots.
Installation
The official release of Plotly can be installed with pip. The guidelines for installing it can be found here.
Plotly comprises several modules, each serving distinct purposes within the realm of data visualization.
Plotly Express
The plotly.express
module, typically imported as px
, provides an easy way to create various types of figures. It offers over 30 functions for generating different plot types, such as bar charts, line graphs, histograms, and more. These functions are designed to be straightforward and easy to learn, simplifying the creation of interactive and visually appealing plots in Python.
Plotly Graph Objects
The plotly.graph_objects
module, commonly imported as go
, includes objects like Figure
, layout
, and data
that define plots such as line charts and scatter plots. While plotly.express
internally uses this module, plotly.graph_objects
provides a higher degree of control over visualization elements.
Plotly Figure Factory
The plotly.figure_factory
module, often imported as ff
, features specialized functions for creating complex graphs that may be challenging to build using plotly.express
or plotly.graph_objects
modules. Examples of such graphs include dendrograms, quiver plots, hexagonal binning, tile maps, streamline plots, and others.
Python:Plotly Concepts
Python:Plotly contributors
- itispragativerma65608500807 contributions
- DaniTellini2 contributions
- core72078777092 contributions
- dakshdeepHERE2 contributions
- alessandrocapialbi1 contribution
- JoseAndersonRamos1 contribution
- tguajardo1 contribution
- arisdelaCruz14136188571 contribution
- MamtaWardhani1 contribution
- Souleater391 contribution
- nelsonboamortesantiago1 contribution
- webBlaster589341 contribution
Contribute to Docs
- Learn more about how to get involved.
- Submit feedback to let us know how we can improve Docs.
Learn Python:Plotly on Codecademy
- Career path
Computer Science
Looking for an introduction to the theory behind programming? Master Python while learning data structures, algorithms, and more!Includes 6 CoursesWith Professional CertificationBeginner Friendly75 hours - Course
Learn Python 3
Learn the basics of Python 3.12, one of the most powerful, versatile, and in-demand programming languages today.With CertificateBeginner Friendly23 hours