Maps, GIS, Geospatial, Dataviz, Python.
import Counter import matplotlib.pyplot as plt # this function does some nice formatting on the axis and labels def format_axis(ax): for pos in ['right', 'top']: ax.spines[pos].set_edgecolor('w') for pos in ['bottom', 'left']: ax.spines[pos].set_edgecolor('k') ax.tick_params(axis='x', length=6,