# Removing Grid and Plot Manipulation on PyPlot 3D Figures

**URL:** <https://discourse.julialang.org/t/removing-grid-and-plot-manipulation-on-pyplot-3d-figures/4256>\
**Category:** New to Julia\
**Created:** [June 13, 2017, 10:09pm UTC](https://discourse.julialang.org/t/removing-grid-and-plot-manipulation-on-pyplot-3d-figures/4256 "2017-06-13T22:09:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dabeanmonger](https://avatars.discourse-cdn.com/v4/letter/d/e47c2d/32.png) [@dabeanmonger](https://discourse.julialang.org/u/dabeanmonger)\
**Post date:** [June 13, 2017, 10:09pm UTC](https://discourse.julialang.org/t/removing-grid-and-plot-manipulation-on-pyplot-3d-figures/4256/1 "2017-06-13T22:09:15Z")

</div>

I’ve run a code using pyplot and plot\_wireframe which produces the figure seen below. ![](https://global.discourse-cdn.com/julialang/original/3X/d/b/db32cfb94d34e6a231f3e140251b4803eb320ed8.png)  
I have two issues. First, I can’t seem to figure out how to remove the grid in the background. Ideally I’d like to have the image floating in white space. Second, the figure comes up in a box with a few tools such as magnify and pan, however they don’t seem to work. No matter what tool I have selected, when I click on the plot all I can do is rotate the figure. How do I magnify and pan this sort of figure?

---

<div class="post-metadata">

**Author:** ![dpsanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dpsanders/32/3573_2.png) [@dpsanders](https://discourse.julialang.org/u/dpsanders)\
**Post date:** [June 13, 2017, 10:27pm UTC](https://discourse.julialang.org/t/removing-grid-and-plot-manipulation-on-pyplot-3d-figures/4256/2 "2017-06-13T22:27:41Z")

</div>

Use PlotlyJS instead of PyPlot. E.g. via Plots.jl

---

<div class="post-metadata">

**Author:** ![Ralph\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ralph_smith/32/10344_2.png) [@Ralph\_Smith](https://discourse.julialang.org/u/Ralph_Smith)\
**Post date:** [June 14, 2017, 3:24am UTC](https://discourse.julialang.org/t/removing-grid-and-plot-manipulation-on-pyplot-3d-figures/4256/3 "2017-06-14T03:24:28Z")

</div>

If you want to stay with PyPlot, this suppresses the grids (at least with my recent install):

```julia
ax=gca()
ax[:set_axis_off]()

```

The right mouse button provides magnification (at least with Qt5 backend). The pan/zoom controls from 2D are apparently missing in the underlying Python Matplotlib 3D API.

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [June 14, 2017, 3:52am UTC](https://discourse.julialang.org/t/removing-grid-and-plot-manipulation-on-pyplot-3d-figures/4256/4 "2017-06-14T03:52:00Z")

</div>

from Plots.jl use the attribute `grid=false`.

---

<div class="post-metadata">

**Author:** ![Tessereau\_Charline](https://avatars.discourse-cdn.com/v4/letter/t/90ced4/32.png) [@Tessereau\_Charline](https://discourse.julialang.org/u/Tessereau_Charline)\
**Post date:** [March 6, 2018, 3:56pm UTC](https://discourse.julialang.org/t/removing-grid-and-plot-manipulation-on-pyplot-3d-figures/4256/5 "2018-03-06T15:56:19Z")

</div>

grid=false does not seem to work with me using Plots. Any idea why ? I need to stay in Plots for the camera option as i need to visualise a 3D plot from different angles. Thank you
