I’m building a map using Scattergeo (5.18.0), and I’m trying to set the marker text to bold. When I try to set to bold, I get ‘Bad property Path: weight.’ It doesn’t seem like it’s included as property of textfont even though the documentations shows that it does? plotly.graph_objects.Scattergeo — 5.22.0 documentation Layout in Python
fig = go.Figure(data=go.Scattergeo(
lon = df['long'],
lat = df['lat'],
text = df['text'],
textfont = dict(
size = self.textfont_size,
family= self.text_font_family,
color = self.text_color,
weight = 'bold'
),
mode = 'markers+text',
marker = dict(
size = self.marker_size,
color = df['color'],
)
))
Anyone know how I can set the marker text to be bold?