Skip to content

Commit 3c7bc45

Browse files
Merge pull request matplotlib#28568 from farquh/'tagging_mplot3d'
added tags to mplot3d examples
2 parents fcd13d0 + f5abe2c commit 3c7bc45

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+242
-0
lines changed

galleries/examples/mplot3d/2dcollections3d.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,9 @@
4646
ax.view_init(elev=20., azim=-35, roll=0)
4747

4848
plt.show()
49+
50+
# %%
51+
# .. tags::
52+
# plot-type: 3D, plot-type: scatter, plot-type: line,
53+
# component: axes,
54+
# level: intermediate

galleries/examples/mplot3d/3d_bars.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,10 @@
3131
ax2.set_title('Not Shaded')
3232

3333
plt.show()
34+
35+
# %%
36+
# .. tags::
37+
# plot-type: 3D,
38+
# styling: texture,
39+
# plot-type: bar,
40+
# level: beginner

galleries/examples/mplot3d/bars3d.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,9 @@
4040
ax.set_yticks(yticks)
4141

4242
plt.show()
43+
44+
# %%
45+
# .. tags::
46+
# plot-type: 3D, plot-type: bar,
47+
# styling: color,
48+
# level: beginner

galleries/examples/mplot3d/box3d.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,8 @@
7676

7777
# Show Figure
7878
plt.show()
79+
80+
# %%
81+
# .. tags::
82+
# plot-type: 3D,
83+
# level: intermediate

galleries/examples/mplot3d/contour3d.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@
1818
ax.contour(X, Y, Z, cmap=cm.coolwarm) # Plot contour curves
1919

2020
plt.show()
21+
22+
# %%
23+
# .. tags::
24+
# plot-type: 3D,
25+
# level: beginner

galleries/examples/mplot3d/contour3d_2.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,8 @@
1717
ax.contour(X, Y, Z, extend3d=True, cmap=cm.coolwarm)
1818

1919
plt.show()
20+
21+
# %%
22+
# .. tags::
23+
# plot-type: 3D,
24+
# level: beginner

galleries/examples/mplot3d/contour3d_3.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,9 @@
2929
xlabel='X', ylabel='Y', zlabel='Z')
3030

3131
plt.show()
32+
33+
# %%
34+
# .. tags::
35+
# plot-type: 3D,
36+
# component: axes,
37+
# level: intermediate

galleries/examples/mplot3d/contourf3d.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,8 @@
2020
ax.contourf(X, Y, Z, cmap=cm.coolwarm)
2121

2222
plt.show()
23+
24+
# %%
25+
# .. tags::
26+
# plot-type: 3D,
27+
# level: beginner

galleries/examples/mplot3d/contourf3d_2.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,9 @@
2929
xlabel='X', ylabel='Y', zlabel='Z')
3030

3131
plt.show()
32+
33+
# %%
34+
# .. tags::
35+
# plot-type: 3D,
36+
# component: axes,
37+
# level: intermediate

galleries/examples/mplot3d/custom_shaded_3d_surface.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,9 @@
3434
linewidth=0, antialiased=False, shade=False)
3535

3636
plt.show()
37+
38+
# %%
39+
# .. tags::
40+
# plot-type: 3D,
41+
# level: intermediate,
42+
# domain: cartography

0 commit comments

Comments
 (0)