Skip to content

Remove Aa in legends with text? #2967

Closed
@chriddyp

Description

@chriddyp

I've worked on a few client projects with Dash where the client asked that the Aa in the legend be removed. To do so, I had to create a set of new traces on top of the existing traces without the text key, and then remove the legend item from the original traces, i.e.:

[
    {x: [1, 2, 3], y: [3, 1, 2], text: ['a', 'b', 'c'], 'showlegend': false, 'legendgroup': 'trace-1', marker: {color: 'blue'}},
    {x: [1], y: [3], 'showlegend': true, 'legendgroup': 'trace-1', marker: {color: 'blue'}},
]

And in the community, some users don't understand why or how the Aa appears (https://community.plot.ly/t/dash-legend-label-extrange-behavoiur-scatterplot/13255).

  • Could we just remove it by default? I feel like the number of folks that want it removed outweighs the number of folks that see the benefit of having it, although I only have anecdotal evidence.
  • If not, could we make a new key to remove it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions