Skip to content

go.Marker update problem #982

@agahkarakuzu

Description

@agahkarakuzu

Hi All,

When defined in a conditional statement, go.Marker fails to update marker attributes as described. To have a different color (than other markers in trace 3), I had to comment out the respective line.

if len(args) > 9:
        trace4 = go.Scatter(
                          x= args[9],
                          y= args[10],
                          mode='markers',
                          #marker=go.Marker(color='rgb(107,174,214)'),
                          xaxis='x1',
                          yaxis='y2',
                          name= 'Outliers',
                          text= args[11],
                          hoverinfo= 'all'
                          )
    else:
        trace4 = []

Am I not allowed to do such thing in the first place, or am I missing something?

Best,
Agah

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