I’m exporting images from a plot created via Scattermapbox, and would like to have consistent styling for text attributing my sources.
Right now, the text regarding the map tiles and data appears within the plot to the bottom right; I’d like to manually enter it in the bottom left, together with my attribution for the data of the ships’ positions. Is this currently possible?
The relevant parts of my code are as follows:
fig = go.Figure() fig.add_trace(go.Scattermapbox( lat=df.lat, lon=df.lon, mode="markers", marker=go.scattermapbox.Marker( size=5, color="rgb(0, 0, 0)", ), )) fig.update_layout( mapbox_style="stamen-watercolor", annotations = [ go.layout.Annotation( text='Ship Locations: My Data Source', align='left', showarrow=False, xref='paper', yref='paper', x=0.02, y=-0.05, borderwidth=0, font_family="Segoe UI" ), ] )
fig.write_image("out.svg", width=800, height=650, scale=3)