# Removing row from GridLayout

**URL:** <https://discourse.julialang.org/t/removing-row-from-gridlayout/93196>\
**Category:** General Usage\
**Tags:** makie\
**Created:** [January 19, 2023, 8:10am UTC](https://discourse.julialang.org/t/removing-row-from-gridlayout/93196 "2023-01-19T08:10:25Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![ffreyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffreyer/32/21569_2.png) [@ffreyer](https://discourse.julialang.org/u/ffreyer)\
**Post date:** [January 19, 2023, 9:49am UTC](https://discourse.julialang.org/t/removing-row-from-gridlayout/93196/6 "2023-01-19T09:49:35Z")

</div>

This should work for clearing plots:

```julia
for c in contents(menugrid[end, :])
    # clean up plots and some observables
    empty!(c.blockscene)

    delete!(c)
end
trim!(menugrid)

```

I’m not sure how complete the observable cleanup is with this. I wouldn’t be surprised if this leaves behind some ghost interactions, like an invisible button you can still press. If that is the case it would be good to open an issue for this.

---

_[View the full topic](https://discourse.julialang.org/t/removing-row-from-gridlayout/93196)._
