NumPy Essential Training 2 MatPlotlib and Linear Algebra Capabilities

Notes by Jinyu Du

Mar.6.2022

Link to the course is here

Course author: Terezija Semenski

Visualization libraries for Python: matplotlib, seaborn, bokeh, ggplot2, altair.

Advantages of matplotlib:

Chapter 1 Plotting with Matplotlib

Matplotlib basics

Understanding figures

The object oriented method to create a plot.

Matplotlib subplots functionality

Another elegant way to create subplots.

Understanding_legends

Implementing a figure

Chapter 2 Matplotlib styling and advanced plots

Colors and Styles

Advanced Matplotlib commands

Three types of nonlinear scales:

  1. logarithmic scale. The most used nonlinear scales. This is used for a series of values where each value equals the previous value multiplied by a constant.

  2. symmetrical logarithmic scale. This is used for representing non-positive numbers.

  3. logit scale

Adding annotations

Creating pie charts and bar charts

Advanced plots

Chapter 3 From beginner to advanced NumPy

Universal functions

Universal functions are Python objects that belong to numpy.ufunc.class and encapsulate the behavior of a function.

Introducing strides

Structured arrays

Dates and time in NumPy

Chapter 4 Linear algebra capabilities in NumPy

Matrix Decomposition

Matrix Decomposition techniques:

M=Q*R

Polynomial mathematics

y=x4+2x3+3x2+4x+5, x=1

y=?

House market