-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
[bug(?)] Markers not showing when changing symbol in Scattermapbox #891
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
Comments
Hi there, |
Thank you! |
no problem, to help clarify: so the 2 issues you may be running into are: |
I am not trying to set color and size but still the custom markers do not render when I select something else than the default, for example "diamond". Can we re-open this issue? |
I know this is over two years later, but I had the same issue recently and found my solution. You have the wrong mapbox style selected. The mapbox symbols do not work with the "carto-positron" style or "open-street-map". In order for symbols to work, you need to use the following mapbox styles (in addition to having a free Mapbox account with a public key):
Reference |
It doesn't work. Only circle is rendered. |
I'm working on this project anymore but I can forward the solution if there is one. |
Hi, below is the code snippet: |
Try removing the mapbox info from the original px.scatter_mapbox call. Also be sure the map_box style works with different symbols. Not all do. Also, not all of the symbols are currently working. I know "streets" and "triangle" work together, so I've included it below in an excerpt of my working code.
|
I think raising a warning for the user when they specify both symbol and color attributes for their markers would be a nice addition in this case. |
I was trying to do a Scattermapbox with different marker symbols, and they didn't render, at first I thought it was a Dash problem, but then I reproduce the same problem without dash (just plotly).
You can find some code to reproduce the error in the following link:
stack overflow question
The text was updated successfully, but these errors were encountered: