I have a relatively simple map that works in R and I am hoping to reproduce it in Python. However, the Python code is much different and I am just trying to learn.
I am wondering if anyone has experience in both and can offer a similar replication to the below:
plot_ly(data = df, x = ~x, y = ~y, showlegend = F) %>%
add_polygons(data = group_by(df, shapeid), line = list(color = ‘black’, width = 0.8),
fillcolor = ‘transparent’, showlegend = F)