Python:Plotly figure_factory

Anonymous contributor's avatar
Anonymous contributor
Published May 30, 2024
Contribute to Docs

In Plotly, the figure_factory module simplifies creating advanced charts such as heatmaps, candlestick charts, and dendrograms by providing simple, high-level functions that manage the intricate details of these visualizations.

  • Looking for an introduction to the theory behind programming? Master Python while learning data structures, algorithms, and more!
    • Includes 6 Courses
    • With Professional Certification
    • Beginner Friendly.
      75 hours
  • Learn the basics of Python 3.12, one of the most powerful, versatile, and in-demand programming languages today.
    • With Certificate
    • Beginner Friendly.
      24 hours

Syntax

import plotly.figure_factory as ff

figure_factory

.create_bullet()
Generates bullet charts to visualize performance metrics against a target using Plotly.
.create_dendrogram()
Generates a hierarchical cluster tree to visualize relationships between data points.
.create_distplot()
Generates a distribution plot to visualize the distribution of data, combining a histogram and a kernel density estimate.
.create_gantt()
Creates a Gantt chart, a type of bar chart that delineates a project schedule by illustrating task durations, dependencies, and timelines.
.create_quiver()
Generates quiver plots to visualize vector fields using arrows to indicate direction and magnitude.
.create_streamline()
Creates streamline visualizations of 2D vector fields.
.create_table()
Creates a table visualization from a list of lists or a Pandas DataFrame.

All contributors

Contribute to Docs

Learn Python:Plotly on Codecademy

  • Looking for an introduction to the theory behind programming? Master Python while learning data structures, algorithms, and more!
    • Includes 6 Courses
    • With Professional Certification
    • Beginner Friendly.
      75 hours
  • Learn the basics of Python 3.12, one of the most powerful, versatile, and in-demand programming languages today.
    • With Certificate
    • Beginner Friendly.
      24 hours