# Supress scale bar in gadfly

**URL:** <https://discourse.julialang.org/t/supress-scale-bar-in-gadfly/76520>\
**Category:** Visualization\
**Tags:** question, gadfly\
**Created:** [February 16, 2022, 12:24am UTC](https://discourse.julialang.org/t/supress-scale-bar-in-gadfly/76520 "2022-02-16T00:24:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![evan-wehi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/evan-wehi/32/32692_2.png) [@evan-wehi](https://discourse.julialang.org/u/evan-wehi)\
**Post date:** [February 16, 2022, 12:24am UTC](https://discourse.julialang.org/t/supress-scale-bar-in-gadfly/76520/1 "2022-02-16T00:24:42Z")

</div>

I’m sure this is obvious, but I’ve been searching for hours for a solution. How do I suppress the “Count” scale bar on the right?

```julia
using Gadfly
# code
plot(x=dnas, 
y=brdus, 
Geom.histogram2d, 
Guide.xlabel("DNA"), 
Guide.ylabel("BrdU"), 
Coord.cartesian(xmin=50000, xmax=200000, ymin=1, ymax=5), 
Scale.y_log10, 
Guide.title("pulse=120mins"),
Theme(background_color="white"))

```

![p](https://global.discourse-cdn.com/julialang/original/3X/9/f/9f5ba8eea4ef2a70db9161fdbf0152a848a7c37a.png)

---

<div class="post-metadata">

**Author:** ![bjarthur](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bjarthur/32/9638_2.png) [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Post date:** [February 16, 2022, 2:38am UTC](https://discourse.julialang.org/t/supress-scale-bar-in-gadfly/76520/2 "2022-02-16T02:38:04Z")

</div>

`Guide.colorkey(title="")`

---

<div class="post-metadata">

**Author:** ![evan-wehi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/evan-wehi/32/32692_2.png) [@evan-wehi](https://discourse.julialang.org/u/evan-wehi)\
**Post date:** [February 17, 2022, 12:36am UTC](https://discourse.julialang.org/t/supress-scale-bar-in-gadfly/76520/3 "2022-02-17T00:36:18Z")

</div>

Thanks, but that only supresses the title. I need to remove the colour/scale bar completely. This does the trick:

```julia
Theme(key_position=:none)

```
