Skip to content

Commit

Permalink
#8 remove legend box in histogram chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhangyixue1537 committed Mar 15, 2024
1 parent 28d874d commit 753b9d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rick.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def histogram_chart(data, ylab, xlab, nbin, **kwargs):
ax.set_xlabel(xlab)
ax.set_ylabel(ylab)
ax.set_xlim(xmin, xmax)
ax.legend(loc='upper right')
ax.get_legend().remove()

return fig, ax

Expand Down

0 comments on commit 753b9d9

Please sign in to comment.