Centered spines with arrows This example shows a way to draw a "math textbook" style plot, where the spines ("axes lines") are drawn at x = 0 and y = 0, and have arrows at their ends. import matplotlib.pyplot as plt import numpy as np