Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8be6378

Browse files
committed
Small cleanup to headings of 3d examples.
1 parent 867c3dd commit 8be6378

File tree

3 files changed

+14
-15
lines changed

3 files changed

+14
-15
lines changed

examples/mplot3d/3d_bars.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
Demo of 3D bar charts
44
=====================
55
6-
A basic demo of how to plot 3D bars with and without
7-
shading.
8-
6+
A basic demo of how to plot 3D bars with and without shading.
97
"""
108

119
import numpy as np

examples/mplot3d/lorenz_attractor.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1-
'''
1+
"""
22
================
33
Lorenz Attractor
44
================
55
6-
This is an example of plotting Edward Lorenz's 1963 `"Deterministic
7-
Nonperiodic Flow"
8-
<http://journals.ametsoc.org/doi/abs/10.1175/1520-0469%281963%29020%3C0130%3ADNF%3E2.0.CO%3B2>`_
9-
in a 3-dimensional space using mplot3d.
6+
This is an example of plotting Edward Lorenz's 1963 `"Deterministic Nonperiodic
7+
Flow"`_ in a 3-dimensional space using mplot3d.
108
11-
Note: Because this is a simple non-linear ODE, it would be more easily
12-
done using SciPy's ode solver, but this approach depends only
13-
upon NumPy.
14-
'''
9+
.. _"Deterministic Nonperiodic Flow":
10+
http://journals.ametsoc.org/doi/abs/10.1175/1520-0469%281963%29020%3C0130%3ADNF%3E2.0.CO%3B2
11+
12+
.. note::
13+
Because this is a simple non-linear ODE, it would be more easily done using
14+
SciPy's ODE solver, but this approach depends only upon NumPy.
15+
"""
1516

1617
import numpy as np
1718
import matplotlib.pyplot as plt

examples/mplot3d/voxels_rgb.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
'''
1+
"""
22
==========================================
33
3D voxel / volumetric plot with rgb colors
44
==========================================
55
6-
Demonstrates using ``ax.voxels`` to visualize parts of a color space
7-
'''
6+
Demonstrates using `Axes3D.voxels` to visualize parts of a color space.
7+
"""
88

99
import matplotlib.pyplot as plt
1010
import numpy as np

0 commit comments

Comments
 (0)