In this recipe, we will learn how to plot grid lines, and manage ticks and ticklabels. Cartopy has a predefined gridlines() function to manage these features, which has many helper functions to format the labels as desired.
We will plot four charts to demonstrate the default options, as well as the degree of customization possible when we want to plot the labels in a particular customized way.