<divid="unreleased-message"> You are reading an old version of the documentation (v1.3.1). For the latest version see <ahref="/stable/">https://matplotlib.org/stable/</a></div>
<li><aclass="reference internal" href="#how-is-mplot3d-different-from-mayavi">How is mplot3d different from MayaVi?</a></li>
<li><aclass="reference internal" href="#my-3d-plot-doesn-t-look-right-at-certain-viewing-angles">My 3D plot doesn’t look right at certain viewing angles</a></li>
<li><aclass="reference internal" href="#i-don-t-like-how-the-3d-plot-is-laid-out-how-do-i-change-that">I don’t like how the 3D plot is laid out, how do I change that?</a></li>
<h2>How is mplot3d different from MayaVi?<aclass="headerlink" href="#how-is-mplot3d-different-from-mayavi" title="Permalink to this headline">¶</a></h2>
<h2>My 3D plot doesn’t look right at certain viewing angles<aclass="headerlink" href="#my-3d-plot-doesn-t-look-right-at-certain-viewing-angles" title="Permalink to this headline">¶</a></h2>
<p>This is probably the most commonly reported issue with mplot3d. The problem
is that – from some viewing angles – a 3D object would appear in front
of another object, even though it is physically behind it. This can result in
plots that do not look “physically correct.”</p>
<p>Unfortunately, while some work is being done to reduce the occurance of this
artifact, it is currently an intractable problem, and can not be fully solved
until matplotlib supports 3D graphics rendering at its core.</p>
<p>The problem occurs due to the reduction of 3D data down to 2D + z-order
scalar. A single value represents the 3rd dimension for all parts of 3D
objects in a collection. Therefore, when the bounding boxes of two collections
intersect, it becomes possible for this artifact to occur. Furthermore, the
intersection of two 3D objects (such as polygons or patches) can not be
rendered properly in matplotlib’s 2D rendering engine.</p>
<p>This problem will likely not be solved until OpenGL support is added to all of
the backends (patches are greatly welcomed). Until then, if you need complex
<h2>I don’t like how the 3D plot is laid out, how do I change that?<aclass="headerlink" href="#i-don-t-like-how-the-3d-plot-is-laid-out-how-do-i-change-that" title="Permalink to this headline">¶</a></h2>
<p>Historically, mplot3d has suffered from a hard-coding of parameters used
to control visuals such as label spacing, tick length, and grid line width.
Work is being done to eliminate this issue. For matplotlib v1.1.0, there is
a semi-official manner to modify these parameters. See the note in the
<aclass="reference internal" href="api.html#toolkit-mplot3d-axisapi"><em>axis3d</em></a> section of the mplot3d API documentation for