-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Color exceed lines for fill in scatter3d #1206
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
Comments
Hi @jhxu0416 , thanks for the report. I added a comment to plotly/plotly.js#2352 with my thoughts on what's going on. In short, i think the issue here is with the example, not the library. @empet, if you have a moment I'd be interested in your perspective on this. |
Hi @jonmmease it looks to me that the fill attribute has a bug. Here a reproducible example. import numpy as np
import plotly.graph_objs as go
m = 6
n = 5
mat = np.random.uniform(size=(m,n)).round(1).repeat(2).reshape(m,n*2)
x = np.arange(2*n)
y = np.ones(2*n)
fig = go.Figure()
for i in range(m):
fig.add_trace(go.Scatter3d(x=x,
y=y*i,
z=mat[i,:],
mode="lines",
surfaceaxis=1 # broken
))
fig.show() |
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, so 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 |
In the 3d filled line example(https://plot.ly/python/3d-filled-line-plots/), the color does not fill the area within the line perfectly.
When I try some more curved and oscillating line, the fill result becomes worse by exceeding the line.

The text was updated successfully, but these errors were encountered: