Plotting in Python
Plotting in Python#
Python has many nice, useful libraries that can be used for plotting. In the figure above, you can see a number of the available plotting library options, along with how they relate to one another. Of the options above, we would like to highlight:
Matplotlib Basemap: The Matplotlib Basemap Toolkit is a plugin for visualizing maps in Python. Example plots available in the Matplotlib basemap gallery. Note: The Matplotlib Basemap project is being depricated in favor of Cartopy (Cartopy gallery).
Modern and powerful visualization libraries built on top of Matplotlib and Bokeh that makes exploring and visualizing your data quicker than ever before
GeoViews is designed for creating nice and interactive maps (GeoViews gallery)
Explore the galleries and examples of different visualization libraries above to learn what’s possible to do in Python.
As you can see from the examples, the plotting possibilities in Python are numerous and rich. Do you need to know them all? Of course not. Not even we do. It is not even reasonable to use them all. Instead you should start by learning to use one that suits your needs and then later extend your knowledge and skills to other visualization libraries when necessary.
In the Automating GIS processes II course we will be learning a bit of some other plotting libraries not used in the Geo-Python/AutoGIS I course.