# Plots.jl Interact with (pyplot) backend directly to turn off axes

**URL:** <https://discourse.julialang.org/t/plots-jl-interact-with-pyplot-backend-directly-to-turn-off-axes/21123>\
**Category:** General Usage\
**Tags:** plotting\
**Created:** [February 23, 2019, 9:30pm UTC](https://discourse.julialang.org/t/plots-jl-interact-with-pyplot-backend-directly-to-turn-off-axes/21123 "2019-02-23T21:30:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mopg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mopg/32/3368_2.png) [@mopg](https://discourse.julialang.org/u/mopg)\
**Post date:** [February 23, 2019, 9:30pm UTC](https://discourse.julialang.org/t/plots-jl-interact-with-pyplot-backend-directly-to-turn-off-axes/21123/1 "2019-02-23T21:30:19Z")

</div>

I’m using Plots.jl to draw a 3D plot (with PyPlot backend) and I’d like to turn off the axes. Note that this question is similar to [Removing axes in Plots.jl 3D plot](https://discourse.julialang.org/t/removing-axes-in-plots-jl-3d-plot/9104), [Removing Grid and Plot Manipulation on PyPlot 3D Figures - #3 by Ralph\_Smith](https://discourse.julialang.org/t/removing-grid-and-plot-manipulation-on-pyplot-3d-figures/4256/3) but those answers are not quite satisfactory.

As established in those questions, `grid=false` doesn’t turn off the grid for PyPlot. I’d like to turn off both the grid and axis completely, i.e., white background.

Simple example:

> using Plots  
> pyplot()  
> plot([1.,2.],[1.,2.],[1.,2.],grid=false)

In PyPlot.jl I would just use `ax[:set_axis_off]()` to interact with matplotlib directly. Is it possible to interact with PyPlot directly from within Plots.jl as well? (which would solve my issue)

I’m using some functionality of Plots.jl in a different part of my package, so I’d like to stay with Plots.jl for this as well instead of switching to PyPlot.jl completely.
