GeezerVison is showing github.com — Remove deprecated Figure Factory functions by emilykl · Pull Request #5627 · plotly/plotly.py
Conversation
emilykl
commented
Jun 18, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Partially addresses #5622
Description of change
Remove the following deprecated Figure Factory functions. All of the removed functions have alternatives in figure_factory, graph_objects, or express which can be used instead.
create_2d_density — use plotly.express.density_heatmap instead
create_annotated_heatmap — use plotly.express.imshow instead
create_bullet — use plotly.graph_objects.Indicator instead
create_candlestick — use plotly.graph_objects.Candlestick instead
create_choropleth — use plotly.express.choropleth with custom GeoJSON instead
create_distplot — use plotly.express functions like plotly.express.histogram instead
create_facet_grid — use plotly.express functions with facet_row and facet_col arguments instead
create_gantt — use plotly.express.timeline instead
create_hexbin_mapbox — use create_hexbin_map instead
create_ohlc — use plotly.graph_objects.Ohlc instead
create_scatterplotmatrix — use plotly.graph_objects.Splom instead
create_violin — use plotly.graph_objects.Violin instead
Testing strategy
Ensure test suite is passing in CI.
Can also install the package from this branch and try executing:
from plotly.figure_factory import create_2d_density # try the name of any removed function
to ensure that an error is raised.
Guidelines
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
emilykl
changed the title
Remove deprecated ff
Remove deprecated Figure Factory functions
Jun 18, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I've got one really nitpicky suggestion.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Aug 26, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.