GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove deprecated Figure Factory functions by emilykl · Pull Request #5627 · plotly/plotly.py

Conversation

@emilykl

@emilykl emilykl commented Jun 18, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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

  • I have reviewed the pull request guidelines and the Code of Conduct and confirm that this PR follows them.
  • I have added an entry to the changelog if needed (not required for documentation PRs).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
emilykl added 2 commits June 18, 2026 13:18
@emilykl
remove deprecated Figure Factory functions
d32d856
@emilykl
remove tests for removed Figure Factory functions
b45f9d9
@emilykl emilykl changed the title Remove deprecated ff Remove deprecated Figure Factory functions Jun 18, 2026
emilykl added 6 commits June 18, 2026 13:27
@emilykl
add changelog entry
4c0dad7
@emilykl
formatting
901ebed
@emilykl
update docs to reflect removed figure factory functions
3185b9a
@emilykl
remove plotly-geo, pyshp, and shapely dev dependencies (used by remov…
a203a2b
…ed county-choropleth)
@emilykl
update metadata
6bfa2d4
@emilykl
docs edits
bdfe6fd
camdecoster
camdecoster approved these changes Jun 22, 2026
View reviewed changes

@camdecoster camdecoster left a comment

Copy link
Copy Markdown
Contributor

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.

All reactions
Comment thread CHANGELOG.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@emilykl @camdecoster
Update CHANGELOG.md
c8ea5ff
Co-authored-by: Cameron DeCoster <[email protected]>
@emilykl
emilykl merged commit 09dc038 into v7.0 Jun 22, 2026
20 of 21 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@emilykl
emilykl deleted the remove-deprecated-ff branch June 22, 2026 22:58
@rwedge rwedge mentioned this pull request Aug 25, 2026
get_column_plot broken with plotly 7.0 sdv-dev/SDMetrics#917
Closed
@sarahmish sarahmish mentioned this pull request Aug 26, 2026
Replace create_distplot by manually plotting the kde curve sdv-dev/SDMetrics#918
Merged
This was referenced Aug 26, 2026
CI: playwright-examples fails on nba-dashboard after plotly 7.0.0 removed ff.create_distplot posit-dev/py-shiny#2476
Closed
nba-dashboard: ff.create_distplot was removed in plotly 7.0.0 posit-dev/py-shiny-templates#57
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@camdecoster camdecoster camdecoster approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

2 participants

@emilykl @camdecoster
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.