plotly / plotly/plotly.py

[BUG]: TOZEROY FILL IS FILLING AREAS OF THE PLOT THAT HAS NO DATA IN IT

Open
#5,632 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug good first issue good for agent P2 size: 3
Dominant language
Python
Stars
18.8k
Forks
2.8k
Avg merge
16h 26m
Merged PRs (30d)
21

Description

So, I have currently implemented the tozeroy fill (the area under the curve) to a feature in one of the datasets I'm working with
When I set the fill the tozeroy, it fills under the areas of the plot that currently have no data in it, tozeroy currently joins a polygon from the bottom edge of a point that has data to the top of another edge that has data in it to cover that empty data trace section.
When I set the fill to 'none', plotly obeys the rule of not covering for the spots that has no data in it as shown in the picture below
The areas I circled is where the problem lies as shown in the picture below

Thank you

Image

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

The report does not name a file, test, executable example, or dataset, so first obtain a minimal Python reproduction of the tozeroy plot with missing data points. Compare its behavior with fill set to none and trace the relevant Plotly rendering entry point. Done means tozeroy leaves gaps without data unfilled, with a regression test covering the case.

Written by the indexing model from the issue text.

Assessment

Tech stack
plotly, python
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.