You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using symbols like "triangle" (or other shapes) in a scattermap trace, I am unable to change the color of the symbol. Despite setting the marker color, the symbol color remains unchanged.
Steps to Reproduce:
Create a scattermap trace with a symbol, such as a triangle.
Set the marker parameter with a color.
Notice that the symbol (triangle) color does not change as expected.
Expected Behavior:
The color of the symbol (e.g., triangle, square) should change according to the marker.color settings.
Actual Behavior:
The symbol does not change color when the marker.color is set, even though it should.
I am experiencing the same issue, not only with the triangle symbol but also with the square (the circle symbol works fine). This problem does not occur when using go.Scatter; it only manifests when using Mapbox. I think the issue might be related to how Mapbox GL JS handles symbol rendering, possibly due to the way Mapbox’s internal sprite system processes the marker.symbol parameter in conjunction with Plotly's integration.
I found this note in the plotly.graph_objects.Scattermap documentation:
It seems that currently in scattermap, only the 'circle' symbol properly supports color and size customization. Other symbols like 'triangle', 'square', etc., don't yet allow changes to their fill color through marker.color.
I found this note in the plotly.graph_objects.Scattermap documentation:
It seems that currently in scattermap, only the 'circle' symbol properly supports color and size customization. Other symbols like 'triangle', 'square', etc., don't yet allow changes to their fill color through marker.color.
you're right, since plotly uses Maki icons for symbols like triangles, their color and size can't be changed. But it would really help if they offered more triangle styles, like a white triangle with a black outline, the current solid black triangle looks messy when there are many points.
Description:
When using symbols like "triangle" (or other shapes) in a
scattermap
trace, I am unable to change the color of the symbol. Despite setting themarker
color, the symbol color remains unchanged.Steps to Reproduce:
scattermap
trace with a symbol, such as a triangle.marker
parameter with a color.Expected Behavior:
The color of the symbol (e.g., triangle, square) should change according to the
marker.color
settings.Actual Behavior:
The symbol does not change color when the
marker.color
is set, even though it should.Code Snippet:
The text was updated successfully, but these errors were encountered: