Skip to content

Commit 5f67a3d

Browse files
committed
Fix edge color, links, wording; closes matplotlib#23895
1 parent 21493c5 commit 5f67a3d

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

examples/mplot3d/contour3d_3.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
"""
2-
========================================
3-
Projecting contour profiles onto a graph
4-
========================================
2+
=====================================
3+
Project contour profiles onto a graph
4+
=====================================
55
66
Demonstrates displaying a 3D surface while also projecting contour 'profiles'
77
onto the 'walls' of the graph.
88
9-
See contourf3d_demo2 for the filled version.
9+
See :doc:`contourf3d_2` for the filled version.
1010
"""
1111

1212
from mpl_toolkits.mplot3d import axes3d
@@ -17,7 +17,7 @@
1717
X, Y, Z = axes3d.get_test_data(0.05)
1818

1919
# Plot the 3D surface
20-
ax.plot_surface(X, Y, Z, rstride=8, cstride=8, alpha=0.3)
20+
ax.plot_surface(X, Y, Z, edgecolor='black', rstride=8, cstride=8, alpha=0.3)
2121

2222
# Plot projections of the contours for each dimension. By choosing offsets
2323
# that match the appropriate axes limits, the projected contours will sit on

examples/mplot3d/contourf3d_2.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
"""
2-
======================================
3-
Projecting filled contour onto a graph
4-
======================================
2+
===================================
3+
Project filled contour onto a graph
4+
===================================
55
66
Demonstrates displaying a 3D surface while also projecting filled contour
77
'profiles' onto the 'walls' of the graph.
88
9-
See contour3d_demo2 for the unfilled version.
9+
See :doc:`contour3d_3` for the unfilled version.
1010
"""
1111

1212
from mpl_toolkits.mplot3d import axes3d
@@ -17,7 +17,7 @@
1717
X, Y, Z = axes3d.get_test_data(0.05)
1818

1919
# Plot the 3D surface
20-
ax.plot_surface(X, Y, Z, rstride=8, cstride=8, alpha=0.3)
20+
ax.plot_surface(X, Y, Z, edgecolor='black', rstride=8, cstride=8, alpha=0.3)
2121

2222
# Plot projections of the contours for each dimension. By choosing offsets
2323
# that match the appropriate axes limits, the projected contours will sit on

0 commit comments

Comments
 (0)