# No labels on drawn color palette

**URL:** <https://root-forum.cern.ch/t/no-labels-on-drawn-color-palette/55123>\
**Category:** Newbie\
**Created:** [May 31, 2023, 7:57pm UTC](https://root-forum.cern.ch/t/no-labels-on-drawn-color-palette/55123 "2023-05-31T19:57:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abunka](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/d6d6ee/32.png) [@abunka](https://root-forum.cern.ch/u/abunka)\
**Post date:** [May 31, 2023, 7:57pm UTC](https://root-forum.cern.ch/t/no-labels-on-drawn-color-palette/55123/1 "2023-05-31T19:57:03Z")

</div>

Hello ROOTers  
I am making a contour plot from a TH1D, using Draw-\>(“CONTZ”);  
It is working well except the color key has no labels, just the colors:

 ![image](https://root-forum.cern.ch/uploads/default/original/3X/6/8/684267b7df60bf2c08e4e9fc3ee2cfb9497d63df.png)

How can I get the numbers to show?  
Thanks!

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [May 31, 2023, 8:24pm UTC](https://root-forum.cern.ch/t/no-labels-on-drawn-color-palette/55123/2 "2023-05-31T20:24:45Z")

</div>

Before drawing, try something like this: `canvas->SetRightMargin(0.2);`
