diff --git a/anesthetic/plotting/_matplotlib/hist.py b/anesthetic/plotting/_matplotlib/hist.py index b488a2e9..39333dbf 100644 --- a/anesthetic/plotting/_matplotlib/hist.py +++ b/anesthetic/plotting/_matplotlib/hist.py @@ -53,10 +53,7 @@ def _get_colors(self, num_colors=None, color_kwds='color'): return super()._get_colors(num_colors, color_kwds) def _post_plot_logic(self, ax, data): - if self.orientation == "horizontal": - ax.set_ylabel(self.ylabel) - else: - ax.set_xlabel(self.xlabel) + ax.set_xlabel(self.xlabel) ax.set_yticks([]) ax.set_ylim(bottom=0)