Skip to content

multiple Legends not working in VS code  #4560

Closed
@Camilochiang

Description

@Camilochiang

with plotly 5.20.0 , addding multiple legend 1 within VSCode version 1.87.2 (Windows_NT x 64) do not produce the expected results (a.k.a it only show one legend) when either using the default render (a.ka. fig.show()) or vscode render (a.ka render = ‘vscode’)

this behaivor can be solve with renderer = ‘png’ but the full idea of using plotly is to have interactive figures, so for me this is a bug.

I will not add code as this can be tested with the example code from multiple legend

also, when using an invalidad argument (a.ka. “render”) and not “renderer”, fig.show do not give an error and just ignore the argument. shouldn’t the function check for non valid arguments?

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