# Setting axis properties in a Makie recipe

**URL:** <https://discourse.julialang.org/t/setting-axis-properties-in-a-makie-recipe/125863>\
**Category:** General Usage\
**Tags:** question, package\
**Created:** [February 13, 2025, 1:19pm UTC](https://discourse.julialang.org/t/setting-axis-properties-in-a-makie-recipe/125863 "2025-02-13T13:19:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![prittjam](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/prittjam/32/21267_2.png) [@prittjam](https://discourse.julialang.org/u/prittjam)\
**Post date:** [February 13, 2025, 1:19pm UTC](https://discourse.julialang.org/t/setting-axis-properties-in-a-makie-recipe/125863/1 "2025-02-13T13:19:21Z")

</div>

I’ve spent a lot of time figuring out how to set axis properties in a Makie recipe. I’m convinced this is not possible. Is this the case?

---

<div class="post-metadata">

**Author:** ![prittjam](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/prittjam/32/21267_2.png) [@prittjam](https://discourse.julialang.org/u/prittjam)\
**Post date:** [February 13, 2025, 1:40pm UTC](https://discourse.julialang.org/t/setting-axis-properties-in-a-makie-recipe/125863/2 "2025-02-13T13:40:17Z")

</div>

This is from 3 years ago:

> [@Accessing axis in Makie plot recipes](https://discourse.julialang.org/t/accessing-axis-in-makie-plot-recipes/66006/3):
>
> What about just applying a theme to the Axis, not a full programmatic access to it? For instance, I was hoping that in this recipe the newly created Axis would have a certain background color, etc, but it seems the theme information was not used in any way. struct TestStruct data end ts = TestStruct([1,2,3]) @recipe(TestRecipe) do scene Theme( Axis = ( backgroundcolor = :gray90, leftspinevisible = false, rightspinevisible = false, bottomspinevisible…

it seems that the problem is not resolved, yet.

---

<div class="post-metadata">

**Author:** ![prittjam](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/prittjam/32/21267_2.png) [@prittjam](https://discourse.julialang.org/u/prittjam)\
**Post date:** [February 13, 2025, 5:11pm UTC](https://discourse.julialang.org/t/setting-axis-properties-in-a-makie-recipe/125863/3 "2025-02-13T17:11:40Z")

</div>

For now, it’s enough to pass in the axis style to the make plot recipe. But it would be helpful if the Makie recipe were to define its axes, which is impossible. What was the reasoning for disallowing this?
