Skip to content

Commit

Permalink
Merge pull request #5 from alexcalligraphy/main
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesir authored Feb 3, 2024
2 parents e18d80c + 215ff58 commit 0b4f3a7
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions quantstats_lumi/_plotting/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,9 +564,18 @@ def plot_histogram(
# ax.axvline(0, lw=1, color="#000000", zorder=2)

ax.set_xlabel("")
ax.set_ylabel(
"Occurrences", fontname=fontname, fontweight="bold", fontsize=12, color="black"
)

if ylabel:
ax.set_ylabel(
"Occurrences",
fontname=fontname,
fontweight="bold",
fontsize=12,
color="black"
)
else:
ax.set_ylabel(None)

ax.yaxis.set_label_coords(-0.1, 0.5)

# fig.autofmt_xdate()
Expand Down

0 comments on commit 0b4f3a7

Please sign in to comment.