Session Ready
Exercise

Styling a multi-layered plot

Now we have converted both datasets to the same Coordinate Reference System, let's make a nicer plot combining the two.

The datasets in UTM coordinates as we saved them to files in the last exercise are read back in and made available as the mining_sites and national_parks variables. GeoPandas and matplotlib are already imported.

Instructions 1/3
undefined XP
  • 1

    Edit the code to plot the national parks as green polygons and the mining sites as small dots (a marker size of 5).

    • 2

      Apply an alpha of 0.5 to the mining site points. Further, remove the axis box and labels.

    • 3

      Edit the code to color the points based on the 'mineral' column instead of specifying alpha. Make sure to add a legend.