diff --git a/aerosandbox/tools/pretty_plots/formatting.py b/aerosandbox/tools/pretty_plots/formatting.py index 2710af46..4e4fa12b 100644 --- a/aerosandbox/tools/pretty_plots/formatting.py +++ b/aerosandbox/tools/pretty_plots/formatting.py @@ -350,12 +350,13 @@ def __call__(self): if rotate_axis_labels: for ax in axes: if not ax_is_3d(ax): - ax.set_ylabel( - ax.get_ylabel(), - rotation=0, - ha="right", - va="center", - ) + if not ax.get_label() == '': + ax.set_ylabel( + ax.get_ylabel(), + rotation=0, + ha="right", + va="center", + ) if title is not None: if len(axes) > 1: