# Change transparecy of the spines in Makie plots

**URL:** <https://discourse.julialang.org/t/change-transparecy-of-the-spines-in-makie-plots/76002>\
**Category:** Visualization\
**Tags:** question\
**Created:** [February 8, 2022, 9:02am UTC](https://discourse.julialang.org/t/change-transparecy-of-the-spines-in-makie-plots/76002 "2022-02-08T09:02:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RayleighLord](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rayleighlord/32/33592_2.png) [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)\
**Post date:** [February 8, 2022, 9:02am UTC](https://discourse.julialang.org/t/change-transparecy-of-the-spines-in-makie-plots/76002/1 "2022-02-08T09:02:02Z")

</div>

Hello! This is my first question here so forgive me if I make some style typos.

Maybe this is a very specific question, but I noticed that the spines in Makie have some transparecy since, even though they are colored in black, any other line in the plot also colored in black appears much darker.

I have been searching different attributes but I did not manage to find any attribute that can turn off the transparecy of the spines so they appear completely black.

Hopefully someone can help me.

(Sample code showing what I am referring to)

```julia
using GLMakie

x = -π:0.1:π
y = sin.(x)

fig, ax = lines(x, y; color=:black, linewidth=3)

```

 ![image](https://global.discourse-cdn.com/julialang/original/3X/6/b/6b28470ea57dc65fd351eb60f981e95b11de361e.png)

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [February 8, 2022, 9:07am UTC](https://discourse.julialang.org/t/change-transparecy-of-the-spines-in-makie-plots/76002/2 "2022-02-08T09:07:53Z")

</div>

Makie works a lot with transparent colors (rgba), so you should just set the spine color.  
Use something like `:black` or `RGBA(0,0,0,0)`

---

<div class="post-metadata">

**Author:** ![RayleighLord](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rayleighlord/32/33592_2.png) [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)\
**Post date:** [February 8, 2022, 9:11am UTC](https://discourse.julialang.org/t/change-transparecy-of-the-spines-in-makie-plots/76002/3 "2022-02-08T09:11:16Z")

</div>

I tried setting topspinecolor to :black but it keeps the transparecy that the other spines have.
