Skip to content

Commit

Permalink
no support for horizontal
Browse files Browse the repository at this point in the history
  • Loading branch information
williamjameshandley committed Jul 24, 2023
1 parent 28fc103 commit 5267daa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions anesthetic/plotting/_matplotlib/hist.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 5267daa

Please sign in to comment.