Draw maps
See this article on my own blog https://dyingdown.github.io/2020/02/06/Draw-map/ Preparation Before you start to draw maps with python, you first need to install basemap and pyshp . Click here to see how to install basemap . And the following command to install pyshp pip install pyshp --user Draw maps Since basemap is a plug-in in Python, so we first new a py file. World map with coastlines import matplotlib . pyplot as plot from mpl_toolkits . basemap import Basemap plot . figure ( figsize = ( 16 , 8 ) ) m = Basemap ( ) m . drawcoastlines ( ) plot . show ( ) World map with countries import