Skip to content Skip to sidebar Skip to footer

Basemap Error: Module Object Is Not Callable

I am trying to learn how to use basemap in python. I used the following site for learning http://www.datadependence.com/2016/06/creating-map-visualisations-in-python/. but when I t

Solution 1:

You misunderstood the example code. You have to write:

from mpl_toolkits.basemapimportBasemap
m=Basemap(resolution='c',projection='merc',lat_0=54.5,lon_0=-4.36,llcrnrlon=-6.,llcrnrlat=49.5,urcrnrlon=2.,urcrnrlat=55.2)

Basemap have to be start from capital letter. It is very important for Python. Python is case sensitivity language.

Post a Comment for "Basemap Error: Module Object Is Not Callable"