plotly/plotly.py

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

Open

#5,632 opened on Jun 22, 2026

 (7 comments) (0 reactions) (0 assignees)Python (2,467 forks)batch import
P2buggood first issuegood for agentsize: 3

Repository metrics

Stars
 (14,684 stars)
PR merge metrics
 (Avg merge 1d 7h) (7 merged PRs in 30d)

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

Contributor guide