]> git.friedersdorff.com Git - max/plotting_with_matplotlib.git/blobdiff - subplot.py
feat: Make styling explicit
[max/plotting_with_matplotlib.git] / subplot.py
index d817ec55ce582679a0ea315b87d4ce6cafaf3648..de99cb16b41b985fae96110874dafea24da2423e 100644 (file)
@@ -10,7 +10,6 @@ ax.plot(np.arange(0, 1e6, 1000))
 ax.set_ylabel('YLabel0')
 ax.set_xlabel('XLabel0')
 
-
 for i in range(3):
     ax = fig.add_subplot(gs[1, i])
     ax.plot(np.arange(1., 0., -0.1) * 2000.,
@@ -21,6 +20,7 @@ for i in range(3):
         for tick in ax.get_xticklabels():
             tick.set_rotation(55)
 
+# Makes sure that axes labels are aligned with each other
 # same as fig.align_xlabels(); fig.align_ylabels()
 fig.align_labels()