Skip to content

Commit

Permalink
DOC: Fix colorbar label for log-scaled hexbin
Browse files Browse the repository at this point in the history
Fixes #27383
  • Loading branch information
QuLogic committed Dec 5, 2023
1 parent 7b8814b commit 14dc7a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galleries/examples/statistics/hexbin_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
hb = ax1.hexbin(x, y, gridsize=50, bins='log', cmap='inferno')
ax1.set(xlim=xlim, ylim=ylim)
ax1.set_title("With a log color scale")
cb = fig.colorbar(hb, ax=ax1, label='log10(N)')
cb = fig.colorbar(hb, ax=ax1, label='counts')

plt.show()

Expand Down

0 comments on commit 14dc7a8

Please sign in to comment.