Skip to content

How to make the marker's text on a px.scatter_mapbox() always visible? #4067

@jakhon77

Description

@jakhon77

github
Hello,

I am using px.scatter_mapbox() to plot my locations. When my locations are close to each other, the text on my markers are disappearing when I zoom out. I did try textposition property of update_traces but it didn't help resolve my issue completely. There were still some markers without text values.
Is there a way of making the texts static so they are always visible even if I zoom out, even if they overlap? Thanks so much in advance!

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