No module named 'mpl_toolkits.basemap'

Do you want to know the information regarding “No module named 'mpl_toolkits.basemap'”. If yes, you’re in the correct tutorial.

No module named 'mpl_toolkits.basemap'

source activate MyProfileName
conda install basemap

from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
# setup Lambert Conformal basemap.
# set resolution=None to skip processing of boundary datasets.
m = Basemap(width=12000000,height=9000000,projection='lcc',
            resolution=None,lat_1=45.,lat_2=55,lat_0=50,lon_0=-107.)
m.bluemarble()
plt.show()

Conclusion

I hope this article helps you to know about “No module named 'mpl_toolkits.basemap'”. If you have any questions regarding this article please let us know via the comment section. Share this tutorial with your friends & family via social networks.

Hi, I'm Ranjith a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coder Diksha. Here, I post about programming to help developers.

Share on:

Leave a Comment