# In Plots.jl \`heatmap\`s, how do I set the colorbar ticks?

**URL:** <https://discourse.julialang.org/t/in-plots-jl-heatmap-s-how-do-i-set-the-colorbar-ticks/132894>\
**Category:** Visualization\
**Created:** [October 5, 2025, 6:24pm UTC](https://discourse.julialang.org/t/in-plots-jl-heatmap-s-how-do-i-set-the-colorbar-ticks/132894 "2025-10-05T18:24:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [October 5, 2025, 6:59pm UTC](https://discourse.julialang.org/t/in-plots-jl-heatmap-s-how-do-i-set-the-colorbar-ticks/132894/2 "2025-10-05T18:59:23Z")

</div>

Check the keyword `colorbar_ticks` and the [Supported Attributes · Plots](https://docs.juliaplots.org/dev/generated/supported/).  
This is only supported by the pyplot() backend.

However, with any other backend, it is easy to create your own color bar and decorations by treating it as a heatmap in a neighboring subplot.  
Check out [this post](https://discourse.julialang.org/t/setting-the-foreground-color-of-colorbar-tick-marks/122911/4).

---

_[View the full topic](https://discourse.julialang.org/t/in-plots-jl-heatmap-s-how-do-i-set-the-colorbar-ticks/132894)._
