Simple axis direction import matplotlib.pyplot as plt import mpl_toolkits.axisartist as axisartist fig = plt.figure(