question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scattergl fill tozerox/y doesn't work as expected

See original GitHub issue

scattergl fill tozeroy fills to lowest y value rather than 0 and behaves inconsistently from scatter fill which uses the trace as a bound (see codepen: http://codepen.io/plotly/pen/apyXpW?editors=1010 )

Additionally, we need to fix the attribute description for scattergl fill - it should be different from scatter’s fill.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
dycommented, Oct 1, 2017

Yes, regl-line2d is capable of filling any shapes now, so fully svg-compatible in that sense. We can cover these cases.

0reactions
etpinardcommented, Jan 18, 2018

I’m going to close this thing as the issue title refers to to-zero fills which are fixed in https://github.com/plotly/plotly.js/pull/2258

For more fill open items, see https://github.com/plotly/plotly.js/issues/130

Read more comments on GitHub >

github_iconTop Results From Across the Web

plotly.graph_objects.Scattergl — 5.11.0 documentation
“tonext” fills the space between two traces if one completely encloses the other (eg consecutive contour lines), and behaves like “toself” if there...
Read more >
Python Figure Reference: scattergl Traces - Plotly
Scattergl trace is a graph object in the figure's data list with any of the named arguments or attributes listed below. The data...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found