# Makie change axis appearance in plot recipe

**URL:** <https://discourse.julialang.org/t/makie-change-axis-appearance-in-plot-recipe/30897>\
**Category:** Visualization\
**Tags:** makie, recipe\
**Created:** [November 9, 2019, 5:49pm UTC](https://discourse.julialang.org/t/makie-change-axis-appearance-in-plot-recipe/30897 "2019-11-09T17:49:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/daniel/32/6480_2.png) [@daniel](https://discourse.julialang.org/u/daniel)\
**Post date:** [November 9, 2019, 5:49pm UTC](https://discourse.julialang.org/t/makie-change-axis-appearance-in-plot-recipe/30897/1 "2019-11-09T17:49:09Z")

</div>

Is there a way to change the axis appearance in a plot recipe?  
Suppose I have

```julia
@recipe(MyPlot, x, y) do scene
    Theme(
        plot_color = :red
    )
end

function AbstractPlotting.plot!(plot::MyPlot)
    # normal plotting code, building on any previously defined recipes
    # or atomic plotting operations, and adding to the combined `plot`:
    lines!(plot, rand(10), color = plot[:plot_color])
    plot!(plot, plot[:x], plot[:y])

    return plot
end

```

Is it possible to for example remove the grid lines or change the axis labels when calling `myplot([1, 2, 3], [1, 2, 3])`? I tried grabbing the parent scene with `s = plot.parent`, but `s[Axis]` is `nothing`.

What am I doing wrong?
