In this recipe, we will learn how to plot geographical maps using the geopandas package that comes packaged with Matplotlib. There are third party packages supported by Matplotlib for advanced geographical maps, such as Basemap (being sunset in 2020) and Cartopy (replacing Basemap). We will learn to use Cartopy in Chapter 14, Plotting Geographical Maps Using Cartopy.
Geographical plotting using geopandas
Getting ready
Import the required libraries:
import geopandas as gpd
import matplotlib.pyplot as plt
How to do it...
The following code block highlights the locations...