Plotly express choropleth not taking lat and lon as parameters


in docstring the plotly shows that px.choropleth will take lat and lon along with the dataframe as parameters but while trying it’s not taking lat and lon as parameter

but trying same with px.scatter_geo works

if it’s not taking as parameter then why do they mention that it takes as parameter in docstring or is there something wrong from my side?