# Removing axes in Plots.jl 3D plot

**URL:** <https://discourse.julialang.org/t/removing-axes-in-plots-jl-3d-plot/9104>\
**Category:** General Usage\
**Tags:** plotting\
**Created:** [February 16, 2018, 8:54am UTC](https://discourse.julialang.org/t/removing-axes-in-plots-jl-3d-plot/9104 "2018-02-16T08:54:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [February 16, 2018, 8:54am UTC](https://discourse.julialang.org/t/removing-axes-in-plots-jl-3d-plot/9104/1 "2018-02-16T08:54:57Z")

</div>

Very much similar to [Removing Grid and Plot Manipulation on PyPlot 3D Figures](https://discourse.julialang.org/t/removing-grid-and-plot-manipulation-on-pyplot-3d-figures/4256), I have a 3D plot drawn with Plots.jl (rather than PyPlot.jl) where I would like to remove the axes/box, i.e. I want the image to be floating in white space. MWE

```julia
using Plots
ts = linspace(0,8π,100);
x = map(cos,ts); y = 0.1ts .* map(sin,ts); z = 1:100;
pyplot();
scatter(x, y, z, axis=[])

```

Here, `axis=[]` just removes the axes ticks and tick labels:

![image](https://global.discourse-cdn.com/julialang/original/3X/9/5/9510c956f189ca09e72aa246421c4e8214860477.jpeg)

How do I remove the box as well? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [February 16, 2018, 2:45pm UTC](https://discourse.julialang.org/t/removing-axes-in-plots-jl-3d-plot/9104/2 "2018-02-16T14:45:11Z")

</div>

`framestyle=:none` also doesn’t do it:

![image](https://global.discourse-cdn.com/julialang/original/3X/5/6/56152adfcb51c62f510c29852233ae190edd2c24.jpeg)

---

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [March 2, 2022, 7:03pm UTC](https://discourse.julialang.org/t/removing-axes-in-plots-jl-3d-plot/9104/3 "2022-03-02T19:03:37Z")

</div>

Based [on this other post](https://discourse.julialang.org/t/call-backend-functions-on-plots-jl-pyplot-backend/45789/2), the desired result can be achieved by using the matplotlib `axis()` function acting on Plots.jl pyplot() backend object:

```julia
p = scatter(x, y, z, dpi=100)
p[1].o.axis("off")

```

_ **NB:** _  
_need to click in the plot scene so that the box disappears._
