NumPy and Matplotlib: reshape, dot products, lines and subplots {doc}methods_vs_functions; {doc}reshape_and_4d; {doc}allclose; {doc}arange; {doc}dot_outer; {doc}newaxis; {doc}subtract_means; {doc}plot_lines; {doc}subplots.