Maps, GIS, Geospatial, Dataviz, Python.
colors = [transport_colors[l] for l in labels] ax[idx].bar(labels, values, color = colors) ax[idx].set_xticklabels(labels, fontsize = 10, rotation = 60, ha = 'right') format_axis(ax[idx]) ax[idx].set_title(city, fontsize = 18) ax[idx].set_ylabel('Number of routes', fontsize = 15)