Skip to content

Documentation around Scattermap Markers is out of date and confusing #5156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ronand97 opened this issue Apr 28, 2025 · 4 comments
Open

Documentation around Scattermap Markers is out of date and confusing #5156

ronand97 opened this issue Apr 28, 2025 · 4 comments
Assignees
Labels
bug something broken documentation written for humans P1 needed for current cycle

Comments

@ronand97
Copy link

Intent
I want to add markers with different symbols to my plotly graph object Scattermap.

What I've tried

  • Naming symbols with square, circle, diamond etc. This works but color is not supported for these basic objects apart from circle.
  • Maki symbols

Issues

Suggested Fix
Update the documentation to show:

  1. How to add symbols to a graph_objects.Scattermap figure using out-of-the-box symbols
  2. How to add custom symbols to a graph_objects.Scattermap figure
@gvwilson gvwilson added bug something broken P1 needed for current cycle documentation written for humans labels Apr 30, 2025
@gvwilson
Copy link
Contributor

thanks for the report @ronand97 - @LiamConnors please have a look.

@LiamConnors
Copy link
Member

Thanks @ronand97 for the report.

Working on correcting the incorrect link now.

For the symbols not working, are there specific ones you tried that didn't work?

We have this example here https://plotly.com/python/tile-scatter-maps/#set-marker-symbols for setting marker symbols. Do those symbols render for you?

@ronand97
Copy link
Author

Thanks @ronand97 for the report.

Working on correcting the incorrect link now.

For the symbols not working, are there specific ones you tried that didn't work?

We have this example here https://plotly.com/python/tile-scatter-maps/#set-marker-symbols for setting marker symbols. Do those symbols render for you?

Hey Liam thanks for taking a look. I can plot those three specific ones yeah. I just went back to test the maki icons. Initially I thought I couldn't get any of the maki icons working but trying again I got the very first one on this page (https://labs.mapbox.com/maki-icons/) working - the icon called aerialway. However when I try to plot charging-station it doesn't work. So it seems like only some of the maki icons are supported, maybe this was clearer on the old link which now doesn't work.

Separately a small note on the documentation you linked me (https://plotly.com/python/tile-scatter-maps/#set-marker-symbols) - it took me a second to realise that the bullet points were map styles and seemingly not related to symbols. I would expect that to be a list of supported symbols, whereas you can only see 3 supported symbols (bus, airport, harbor) by reading the code and it's not so clear what other icons are supported.

@LiamConnors
Copy link
Member

Thanks @ronand97. Good point about the bullet list. I'll rework this section. And will try out these other symbols to see what's working for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken documentation written for humans P1 needed for current cycle
Projects
None yet
Development

No branches or pull requests

3 participants