Skip to content

Commit 9396d98

Browse files
committed
added headers
1 parent 981ec49 commit 9396d98

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

examples/mplot3d/pathpatch3d_demo.py

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
'''
1+
"""
2+
============================
3+
Draw flat objects in 3d plot
4+
============================
5+
26
Demonstrate using pathpatch_2d_to_3d to 'draw' shapes and text on a 3D plot.
3-
'''
7+
"""
48

9+
import numpy as np
510
import matplotlib.pyplot as plt
611
from matplotlib.patches import Circle, PathPatch
712
# register Axes3D class with matplotlib by importing Axes3D

examples/mplot3d/polys3d_demo.py

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
'''
2-
Demonstrate how to create semi-transparent polygons which fill the space
3-
under a line graph, creating a sort of 'jagged stained glass' effect.
4-
'''
1+
"""
2+
=============================================
3+
Generate polygons to fill under 3d line graph
4+
=============================================
5+
6+
Demonstrate how to create polygons which fill the space under a line
7+
graph. In this example polygons are semi-transparent, creating a sort
8+
of 'jagged stained glass' effect.
9+
"""
510

611
from mpl_toolkits.mplot3d import Axes3D
712
from matplotlib.collections import PolyCollection

0 commit comments

Comments
 (0)