
Lecture Description
In this Matplotlib tutorial, we're going to be covering the geographic plotting module, Basemap. Basemap is an extension to Matplotlib.
In order to use Basemap, we first need it. To get Basemap, you can either get it from here: matplotlib.org/basemap/users/download.html, or you can go to www.lfd.uci.edu/~gohlke/pythonlibs/.
If you are having trouble installing Basemap, check out the pip installation tutorial.
Once you have Basemap installed, you're ready to create maps. First, let's just project a simple map. To do this, we need to import Basemap, pyplot, create the projection, draw at least some sort of outline or data, then we can show the graph.
sample code: pythonprogramming.net
hkinsley.com
twitter.com/sentdex
sentdex.com
seaofbtc.com
Course Index
- Introduction and Line
- Legends titles and labels
- bar charts and histograms
- Scatter Plots
- stack plots
- Pie Charts
- loading data from files
- getting data from the internet
- converting data from the internet
- basic customizations, rotating labels
- handling unix time
- more customization of colors and fills
- spines and horizontal lines
- candlestick OHLC graphs
- styles
- Live graphs
- annotations and placing text
- annotating last price to edge of matplotlib graph example
- subplots
- implementing subplots to our stock chart
- adding more indicator data to our charts
- cleaning chart, custom fills, pruning
- sharex axis
- multi y axis plotting volume on stock chart
- customizing Matplotlib Legends
- Basemap intro
- Basemap customization options
- plotting coordinates on a map with Basemap
- matplotlib 3d intro
- 3d scatter plot
- 3d bar charts
- conclusion
Course Description
Learn how to visualize data in the form of line graphs, bar charts, pie charts, 3D graphs, and more with Python 3 and Matplotlib.