Session Ready
Exercise

Colormaps

When you want to differentiate regions, but not imply any type of relationship between the regions, a qualitative colormap is the best choice. In this exercise you'll compare a qualitative colormap to a sequential (quantitative) colormap using the school districts GeoDataFrame. It is available in your workspace as school_districts.

Instructions 1/3
undefined XP
  • 1
    • Plot school_districts with the tab20 colormap. Use 'district' to create a legend and set legend_kwds = lgnd_kwds.
    • 2
      • Plot school_districts with the sequential summer colormap. Keep the other arguments as they are.
    • 3
      • Plot the school districts without setting the column. Use the qualitative Set3 colormap and set legend = True.