Skip to content

Fill area bug while using webgl #2018

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
etirikov opened this issue Dec 26, 2019 · 2 comments
Closed

Fill area bug while using webgl #2018

etirikov opened this issue Dec 26, 2019 · 2 comments

Comments

@etirikov
Copy link

Hello. There is a bug while using fill area with WebGL. This is can be seen on a example from documentation, where fill area between two traces.
`import plotly.graph_objects as go

fig = go.Figure()
fig.add_trace(go.Scatter(x=[1, 2, 3, 4], y=[3, 4, 8, 3],
fill=None,
mode='lines',
line_color='indigo',
))
fig.add_trace(go.Scatter(
x=[1, 2, 3, 4],
y=[1, 6, 2, 6],
fill='tonexty',
mode='lines', line_color='indigo'))

fig.show()If I change Scatter to Scattergl, nothing is filled, drawn only two lines.import plotly.graph_objects as go

fig = go.Figure()
fig.add_trace(go.Scattergl(x=[1, 2, 3, 4], y=[3, 4, 8, 3],
fill=None,
mode='lines',
line_color='indigo',
))
fig.add_trace(go.Scattergl(
x=[1, 2, 3, 4],
y=[1, 6, 2, 6],
fill='tonexty',
mode='lines', line_color='indigo'))

fig.show()`

@emmanuelle
Copy link
Contributor

Hello @etirikov , thanks for opening this issue. I think this problem is the same as plotly/plotly.js#4017, I'll cite this issue in the plotly.js one (some bugs - or features :-) - come directly from the javascript code).

@gvwilson
Copy link
Contributor

Hi - we are currently trying to tidy up Plotly's public repositories to help us focus our efforts on things that will help users most. Since this issue has been sitting for several years, I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our backlog. Thanks for your help - @gvwilson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants