plotly / plotly/plotly.py

Default to go.FigureWidget in notebooks

Open
#4,839 4 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature P2
Dominant language
Python
Stars
18.8k
Forks
2.8k
Avg merge
16h 26m
Merged PRs (30d)
21

Description

the FigureWidget class has more features than the Figure class without any major downsides (that we know of?) - we should consider defaulting to using the widget. One thought is that we could default to using it if anywidget is already installed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the Figure and FigureWidget classes in notebook usage, then investigate how anywidget availability could affect the default. Define the supported environment behavior and compatibility expectations before identifying the relevant implementation and tests; done means the default is documented and verified without breaking existing Figure usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.