I am trying to get the offset of the y axis, and my code is like: import numpy as np import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot() fig.subplots_adjust(top=0.85) # data x = ...