Skip to content

[BUG] The position relationships of translucent points are shown incorrectly in Scatter3D #4477

Closed
@Kevinckyy

Description

@Kevinckyy

Hello! I ran into this problem when I used translucent colors for markers on scatter3d. It seems that the points later in the order will always cover the points drawn first. There're the screenshots and the code to generate them:

image
image

import plotly
plotly.__version__
# '5.18.0'
import plotly.graph_objects as go
fig = go.Figure()
fig.add_trace(
  go.Scatter3d(
    x = [0,1,1], y=[0,1,0], z=[0,1,1],
    mode = 'markers',
    marker = dict( color = ['rgba(200,150,100,0.8)', 'rgba(100,200,150,0.8)' ])
  )
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions