Open
Description
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 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.
Code Snippet:
import plotly.graph_objs as go
fig = go.Figure(go.Scattermap(
lat=[40.748817],
lon=[-73.985428],
mode='markers',
marker=dict(size=14, symbol='triangle', color='red'),
text="Sample Point"
))
fig.update_layout(
map_style="open-street-map",
map_center={"lat": 40.748817, "lon": -73.985428},
map_zoom=10
)
fig.show()
