plotly / plotly/plotly.py

re-write test for missing FigureWidget

Open
#5,238 0 comments 0 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 existing test to see if FigureWidget is installed or not is somewhat convoluted and offends ruff - we should rewrite it.

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

Locate the existing test that checks whether FigureWidget is installed, then read how it currently performs that check and run the relevant test or Ruff. Rewrite the test to remove the convoluted logic and Ruff violation while preserving its installation-check behavior; done means the test passes and Ruff reports no issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.