plotly_express icon indicating copy to clipboard operation
plotly_express copied to clipboard

plotly express shows Invalid property latitude for choropleth map plot

Open bhavana-khandare opened this issue 3 years ago • 0 comments

I am using these dataset " dataset tempat perlancongan Malaysia.csv" . In that I'm Passing the latitude and longitude for plotting the plot plot for spatial coordinate vs numerical feature . I am giving the Input as follows : import plotly.express as px print(df) fig = plotly.express.choropleth(df, lat='Latitude', lon='Longitude', color ='Nama Tempat')

fig.show()

error I got =

ValueError: Invalid property specified for object of type plotly.graph_objs.Choropleth: 'lat' Screenshot from 2022-09-06 12-16-52

bhavana-khandare avatar Sep 06 '22 06:09 bhavana-khandare