Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 856b747

Browse filesBrowse files
committed
added headers
1 parent 558fb80 commit 856b747
Copy full SHA for 856b747

File tree

Expand file treeCollapse file tree

2 files changed

+16
-6
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+16
-6
lines changed

‎examples/mplot3d/pathpatch3d_demo.py

Copy file name to clipboardExpand all lines: examples/mplot3d/pathpatch3d_demo.py
+7-2Lines changed: 7 additions & 2 deletions
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

Copy file name to clipboardExpand all lines: examples/mplot3d/polys3d_demo.py
+9-4Lines changed: 9 additions & 4 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.