diff --git a/examples/mplot3d/3d_bars.py b/examples/mplot3d/3d_bars.py index 483dbcc4fb71..7a9508d14308 100644 --- a/examples/mplot3d/3d_bars.py +++ b/examples/mplot3d/3d_bars.py @@ -3,9 +3,7 @@ Demo of 3D bar charts ===================== -A basic demo of how to plot 3D bars with and without -shading. - +A basic demo of how to plot 3D bars with and without shading. """ import numpy as np diff --git a/examples/mplot3d/lorenz_attractor.py b/examples/mplot3d/lorenz_attractor.py index ec4ed01f7c61..46e13965e29e 100644 --- a/examples/mplot3d/lorenz_attractor.py +++ b/examples/mplot3d/lorenz_attractor.py @@ -1,17 +1,18 @@ -''' +""" ================ Lorenz Attractor ================ -This is an example of plotting Edward Lorenz's 1963 `"Deterministic -Nonperiodic Flow" -`_ -in a 3-dimensional space using mplot3d. +This is an example of plotting Edward Lorenz's 1963 `"Deterministic Nonperiodic +Flow"`_ in a 3-dimensional space using mplot3d. -Note: Because this is a simple non-linear ODE, it would be more easily - done using SciPy's ode solver, but this approach depends only - upon NumPy. -''' +.. _"Deterministic Nonperiodic Flow": + http://journals.ametsoc.org/doi/abs/10.1175/1520-0469%281963%29020%3C0130%3ADNF%3E2.0.CO%3B2 + +.. note:: + Because this is a simple non-linear ODE, it would be more easily done using + SciPy's ODE solver, but this approach depends only upon NumPy. +""" import numpy as np import matplotlib.pyplot as plt diff --git a/examples/mplot3d/voxels_rgb.py b/examples/mplot3d/voxels_rgb.py index 7b012b2a61f8..5b1a87e95512 100644 --- a/examples/mplot3d/voxels_rgb.py +++ b/examples/mplot3d/voxels_rgb.py @@ -1,10 +1,10 @@ -''' +""" ========================================== 3D voxel / volumetric plot with rgb colors ========================================== -Demonstrates using ``ax.voxels`` to visualize parts of a color space -''' +Demonstrates using `Axes3D.voxels` to visualize parts of a color space. +""" import matplotlib.pyplot as plt import numpy as np