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

Skip to content

Commit 1641eab

Browse files
anntzerdstansby
authored andcommitted
Merge pull request #8233 from mnegus01/MEP12_comp1
[MRG+1] changes to MEP12/sphinx-gallery compliant
1 parent b946f37 commit 1641eab

File tree

5 files changed

+40
-5
lines changed

5 files changed

+40
-5
lines changed

examples/mplot3d/2dcollections3d_demo.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
'''
2-
Demonstrates using ax.plot's zdir keyword to plot 2D scatterplot data on
1+
"""
2+
=======================
3+
Plot 2D data on 3D plot
4+
=======================
5+
6+
Demonstrates using ax.plot's zdir keyword to plot 2D data on
37
selective axes of a 3D plot.
4-
'''
8+
"""
59

610
from mpl_toolkits.mplot3d import Axes3D
711
import numpy as np

examples/mplot3d/bars3d_demo.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
"""
2+
========================================
3+
Create 2D bar graphs in different planes
4+
========================================
5+
6+
Demonstrates making a 3D plot which has 2D bar graphs projected onto
7+
planes y=0, y=1, etc.
8+
"""
9+
110
from mpl_toolkits.mplot3d import Axes3D
211
import matplotlib.pyplot as plt
312
import numpy as np

examples/mplot3d/hist3d_demo.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
'''
1+
"""
2+
==============================
3+
Create 3D histogram of 2D data
4+
==============================
5+
26
Demo of a histogram for 2 dimensional data as a bar graph in 3D.
3-
'''
7+
"""
48

59
from mpl_toolkits.mplot3d import Axes3D
610
import matplotlib.pyplot as plt

examples/mplot3d/pathpatch3d_demo.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
"""
2+
============================
3+
Draw flat objects in 3D plot
4+
============================
5+
6+
Demonstrate using pathpatch_2d_to_3d to 'draw' shapes and text on a 3D plot.
7+
"""
8+
19
import matplotlib.pyplot as plt
210
from matplotlib.patches import Circle, PathPatch
311
# register Axes3D class with matplotlib by importing Axes3D

examples/mplot3d/polys3d_demo.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
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+
"""
10+
111
from mpl_toolkits.mplot3d import Axes3D
212
from matplotlib.collections import PolyCollection
313
import matplotlib.pyplot as plt

0 commit comments

Comments
 (0)