Skip to content

Commit

Permalink
fix(plot): plot_heatmap_b64 top argument is now supported
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrugman committed Jul 4, 2022
1 parent 9df1788 commit 8be8115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion popmon/visualization/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ def xtick(lab):
"""Get x-tick."""
lab = str(lab)
if len(lab) > top:
lab = lab[:17] + "..."
lab = lab[: top - 3] + "..."
return lab

plt.xticks(tick_pos_x, date, fontsize=20, rotation=90)
Expand Down

0 comments on commit 8be8115

Please sign in to comment.