Chapter 3. Drawing Your First Plots and Customizing Them
In this chapter we will go into a lot more detail and present most of the possibilities of matplotlib. We will cover:
Defining plot types – bar, line, and stacked charts
Drawing simple sine and cosine plots
Defining axis lengths and limits
Defining plot line styles, properties, and format strings
Setting ticks, labels, and grids
Adding legends and annotations
Moving spines to the center
Making histograms
Making bar charts with error bars
Making pie charts count
Plotting with filled areas
Drawing scatter plots with colored markers