File tree 2 files changed +16
-6
lines changed
2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 1
- '''
1
+ """
2
+ ============================
3
+ Draw flat objects in 3d plot
4
+ ============================
5
+
2
6
Demonstrate using pathpatch_2d_to_3d to 'draw' shapes and text on a 3D plot.
3
- '''
7
+ """
4
8
9
+ import numpy as np
5
10
import matplotlib .pyplot as plt
6
11
from matplotlib .patches import Circle , PathPatch
7
12
# register Axes3D class with matplotlib by importing Axes3D
Original file line number Diff line number Diff line change 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
+ """
5
10
6
11
from mpl_toolkits .mplot3d import Axes3D
7
12
from matplotlib .collections import PolyCollection
You can’t perform that action at this time.
0 commit comments