Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

plotly express shows Invalid property latitude for choropleth map plot #179

Open
bhavana-khandare opened this issue Sep 6, 2022 · 0 comments

Comments

@bhavana-khandare
Copy link

bhavana-khandare commented Sep 6, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant