diff --git a/galleries/examples/mplot3d/2dcollections3d.py b/galleries/examples/mplot3d/2dcollections3d.py index a0155ebb0773..ae88776d133e 100644 --- a/galleries/examples/mplot3d/2dcollections3d.py +++ b/galleries/examples/mplot3d/2dcollections3d.py @@ -46,3 +46,9 @@ ax.view_init(elev=20., azim=-35, roll=0) plt.show() + +# %% +# .. tags:: +# plot-type: 3D, plot-type: scatter, plot-type: line, +# component: axes, +# level: intermediate diff --git a/galleries/examples/mplot3d/3d_bars.py b/galleries/examples/mplot3d/3d_bars.py index 40a09ae33f68..9d8feeaeb12b 100644 --- a/galleries/examples/mplot3d/3d_bars.py +++ b/galleries/examples/mplot3d/3d_bars.py @@ -31,3 +31,10 @@ ax2.set_title('Not Shaded') plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# styling: texture, +# plot-type: bar, +# level: beginner diff --git a/galleries/examples/mplot3d/bars3d.py b/galleries/examples/mplot3d/bars3d.py index 21314057311a..3ea4a100c2f6 100644 --- a/galleries/examples/mplot3d/bars3d.py +++ b/galleries/examples/mplot3d/bars3d.py @@ -40,3 +40,9 @@ ax.set_yticks(yticks) plt.show() + +# %% +# .. tags:: +# plot-type: 3D, plot-type: bar, +# styling: color, +# level: beginner diff --git a/galleries/examples/mplot3d/box3d.py b/galleries/examples/mplot3d/box3d.py index bbe4accec183..807e3d496ec6 100644 --- a/galleries/examples/mplot3d/box3d.py +++ b/galleries/examples/mplot3d/box3d.py @@ -76,3 +76,8 @@ # Show Figure plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# level: intermediate diff --git a/galleries/examples/mplot3d/contour3d.py b/galleries/examples/mplot3d/contour3d.py index fb2e5bb5a30d..6ac98bc47ab1 100644 --- a/galleries/examples/mplot3d/contour3d.py +++ b/galleries/examples/mplot3d/contour3d.py @@ -18,3 +18,8 @@ ax.contour(X, Y, Z, cmap=cm.coolwarm) # Plot contour curves plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# level: beginner diff --git a/galleries/examples/mplot3d/contour3d_2.py b/galleries/examples/mplot3d/contour3d_2.py index 1283deb27c81..0f1aac1450a8 100644 --- a/galleries/examples/mplot3d/contour3d_2.py +++ b/galleries/examples/mplot3d/contour3d_2.py @@ -17,3 +17,8 @@ ax.contour(X, Y, Z, extend3d=True, cmap=cm.coolwarm) plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# level: beginner diff --git a/galleries/examples/mplot3d/contour3d_3.py b/galleries/examples/mplot3d/contour3d_3.py index 6f73fea85dcb..92adb97fc04e 100644 --- a/galleries/examples/mplot3d/contour3d_3.py +++ b/galleries/examples/mplot3d/contour3d_3.py @@ -29,3 +29,9 @@ xlabel='X', ylabel='Y', zlabel='Z') plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# component: axes, +# level: intermediate diff --git a/galleries/examples/mplot3d/contourf3d.py b/galleries/examples/mplot3d/contourf3d.py index 9f7157eab82a..2512179c3e54 100644 --- a/galleries/examples/mplot3d/contourf3d.py +++ b/galleries/examples/mplot3d/contourf3d.py @@ -20,3 +20,8 @@ ax.contourf(X, Y, Z, cmap=cm.coolwarm) plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# level: beginner diff --git a/galleries/examples/mplot3d/contourf3d_2.py b/galleries/examples/mplot3d/contourf3d_2.py index 1530aee5e87f..58fede4e3ab5 100644 --- a/galleries/examples/mplot3d/contourf3d_2.py +++ b/galleries/examples/mplot3d/contourf3d_2.py @@ -29,3 +29,9 @@ xlabel='X', ylabel='Y', zlabel='Z') plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# component: axes, +# level: intermediate diff --git a/galleries/examples/mplot3d/custom_shaded_3d_surface.py b/galleries/examples/mplot3d/custom_shaded_3d_surface.py index 677bfa179a83..1a9fa8d4f7eb 100644 --- a/galleries/examples/mplot3d/custom_shaded_3d_surface.py +++ b/galleries/examples/mplot3d/custom_shaded_3d_surface.py @@ -34,3 +34,9 @@ linewidth=0, antialiased=False, shade=False) plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# level: intermediate, +# domain: cartography diff --git a/galleries/examples/mplot3d/errorbar3d.py b/galleries/examples/mplot3d/errorbar3d.py index e4da658d194b..1ece3ca1e8cf 100644 --- a/galleries/examples/mplot3d/errorbar3d.py +++ b/galleries/examples/mplot3d/errorbar3d.py @@ -27,3 +27,9 @@ ax.set_zlabel("Z label") plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# component: error, +# level: beginner diff --git a/galleries/examples/mplot3d/hist3d.py b/galleries/examples/mplot3d/hist3d.py index e602f7f1e6c5..65d0d60958d8 100644 --- a/galleries/examples/mplot3d/hist3d.py +++ b/galleries/examples/mplot3d/hist3d.py @@ -31,3 +31,9 @@ ax.bar3d(xpos, ypos, zpos, dx, dy, dz, zsort='average') plt.show() + + +# %% +# .. tags:: +# plot-type: 3D, plot-type: histogram, +# level: beginner diff --git a/galleries/examples/mplot3d/imshow3d.py b/galleries/examples/mplot3d/imshow3d.py index 557d96e1bce5..dba962734bbe 100644 --- a/galleries/examples/mplot3d/imshow3d.py +++ b/galleries/examples/mplot3d/imshow3d.py @@ -86,3 +86,9 @@ def imshow3d(ax, array, value_direction='z', pos=0, norm=None, cmap=None): imshow3d(ax, data_zx, value_direction='y', pos=ny, cmap='plasma') plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# styling: colormap, +# level: advanced diff --git a/galleries/examples/mplot3d/intersecting_planes.py b/galleries/examples/mplot3d/intersecting_planes.py index b8aa08fd7e18..a5a92caf5c6b 100644 --- a/galleries/examples/mplot3d/intersecting_planes.py +++ b/galleries/examples/mplot3d/intersecting_planes.py @@ -87,3 +87,9 @@ def figure_3D_array_slices(array, cmap=None): figure_3D_array_slices(r_square, cmap='viridis_r') plt.show() + + +# %% +# .. tags:: +# plot-type: 3D, +# level: advanced diff --git a/galleries/examples/mplot3d/lines3d.py b/galleries/examples/mplot3d/lines3d.py index 2fe3b8f30177..ee38dade6997 100644 --- a/galleries/examples/mplot3d/lines3d.py +++ b/galleries/examples/mplot3d/lines3d.py @@ -22,3 +22,8 @@ ax.legend() plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# level: beginner diff --git a/galleries/examples/mplot3d/lorenz_attractor.py b/galleries/examples/mplot3d/lorenz_attractor.py index 0ac54a7adb9b..72d25ea544cb 100644 --- a/galleries/examples/mplot3d/lorenz_attractor.py +++ b/galleries/examples/mplot3d/lorenz_attractor.py @@ -59,3 +59,8 @@ def lorenz(xyz, *, s=10, r=28, b=2.667): ax.set_title("Lorenz Attractor") plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# level: intermediate diff --git a/galleries/examples/mplot3d/mixed_subplots.py b/galleries/examples/mplot3d/mixed_subplots.py index dc196f05f90d..a38fd2e10a2b 100644 --- a/galleries/examples/mplot3d/mixed_subplots.py +++ b/galleries/examples/mplot3d/mixed_subplots.py @@ -44,3 +44,9 @@ def f(t): ax.set_zlim(-1, 1) plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# component: subplot, +# level: beginner diff --git a/galleries/examples/mplot3d/offset.py b/galleries/examples/mplot3d/offset.py index 78da5c6b51c3..4c5e4b06b62b 100644 --- a/galleries/examples/mplot3d/offset.py +++ b/galleries/examples/mplot3d/offset.py @@ -29,3 +29,10 @@ ax.set_zlim(0, 2) plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# component: label, +# interactivity: pan, +# level: beginner diff --git a/galleries/examples/mplot3d/pathpatch3d.py b/galleries/examples/mplot3d/pathpatch3d.py index 335b68003d31..8cb7c4951809 100644 --- a/galleries/examples/mplot3d/pathpatch3d.py +++ b/galleries/examples/mplot3d/pathpatch3d.py @@ -69,3 +69,9 @@ def text3d(ax, xyz, s, zdir="z", size=None, angle=0, usetex=False, **kwargs): ax.set_zlim(0, 10) plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# component: label, +# level: advanced diff --git a/galleries/examples/mplot3d/polys3d.py b/galleries/examples/mplot3d/polys3d.py index 635c929908f6..19979ceddaa5 100644 --- a/galleries/examples/mplot3d/polys3d.py +++ b/galleries/examples/mplot3d/polys3d.py @@ -33,3 +33,9 @@ ax.set_aspect('equalxy') plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# styling: colormap, +# level: intermediate diff --git a/galleries/examples/mplot3d/projections.py b/galleries/examples/mplot3d/projections.py index 4fdeb6729687..ff9d88ccb5cd 100644 --- a/galleries/examples/mplot3d/projections.py +++ b/galleries/examples/mplot3d/projections.py @@ -53,3 +53,10 @@ axs[2].set_title("'persp'\nfocal_length = 0.2", fontsize=10) plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# styling: small-multiples, +# component: subplot, +# level: intermediate diff --git a/galleries/examples/mplot3d/quiver3d.py b/galleries/examples/mplot3d/quiver3d.py index 1eba869c83b8..adc58c2e9d89 100644 --- a/galleries/examples/mplot3d/quiver3d.py +++ b/galleries/examples/mplot3d/quiver3d.py @@ -25,3 +25,8 @@ ax.quiver(x, y, z, u, v, w, length=0.1, normalize=True) plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# level: beginner diff --git a/galleries/examples/mplot3d/rotate_axes3d_sgskip.py b/galleries/examples/mplot3d/rotate_axes3d_sgskip.py index 4474fab97460..76a3369a20d6 100644 --- a/galleries/examples/mplot3d/rotate_axes3d_sgskip.py +++ b/galleries/examples/mplot3d/rotate_axes3d_sgskip.py @@ -49,3 +49,10 @@ plt.draw() plt.pause(.001) + +# %% +# .. tags:: +# plot-type: 3D, +# component: animation, +# level: advanced, +# internal: high-bandwidth diff --git a/galleries/examples/mplot3d/scatter3d.py b/galleries/examples/mplot3d/scatter3d.py index 6db0ac9222bc..0fc9bf3fe8da 100644 --- a/galleries/examples/mplot3d/scatter3d.py +++ b/galleries/examples/mplot3d/scatter3d.py @@ -38,3 +38,8 @@ def randrange(n, vmin, vmax): ax.set_zlabel('Z Label') plt.show() + +# %% +# .. tags:: +# plot-type: 3D, plot-type: scatter, +# level: beginner diff --git a/galleries/examples/mplot3d/stem3d_demo.py b/galleries/examples/mplot3d/stem3d_demo.py index 6f1773c1b505..6e45e7e75c72 100644 --- a/galleries/examples/mplot3d/stem3d_demo.py +++ b/galleries/examples/mplot3d/stem3d_demo.py @@ -49,3 +49,8 @@ ax.set(xlabel='x', ylabel='y', zlabel='z') plt.show() + +# %% +# .. tags:: +# plot-type: 3D, plot-type: speciality, +# level: beginner diff --git a/galleries/examples/mplot3d/subplot3d.py b/galleries/examples/mplot3d/subplot3d.py index 47e374dc74b9..67d6a81b9e87 100644 --- a/galleries/examples/mplot3d/subplot3d.py +++ b/galleries/examples/mplot3d/subplot3d.py @@ -43,3 +43,9 @@ ax.plot_wireframe(X, Y, Z, rstride=10, cstride=10) plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# component: subplot, +# level: advanced diff --git a/galleries/examples/mplot3d/surface3d.py b/galleries/examples/mplot3d/surface3d.py index e92e6aabd52c..d8a67d40d8b8 100644 --- a/galleries/examples/mplot3d/surface3d.py +++ b/galleries/examples/mplot3d/surface3d.py @@ -53,3 +53,8 @@ # - `matplotlib.axis.Axis.set_major_locator` # - `matplotlib.ticker.LinearLocator` # - `matplotlib.ticker.StrMethodFormatter` +# +# .. tags:: +# plot-type: 3D, +# styling: colormap, +# level: advanced diff --git a/galleries/examples/mplot3d/surface3d_2.py b/galleries/examples/mplot3d/surface3d_2.py index 37ca667d688a..2a4406abc259 100644 --- a/galleries/examples/mplot3d/surface3d_2.py +++ b/galleries/examples/mplot3d/surface3d_2.py @@ -26,3 +26,8 @@ ax.set_aspect('equal') plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# level: beginner diff --git a/galleries/examples/mplot3d/surface3d_3.py b/galleries/examples/mplot3d/surface3d_3.py index a2aca4ca3059..c129ef6d3635 100644 --- a/galleries/examples/mplot3d/surface3d_3.py +++ b/galleries/examples/mplot3d/surface3d_3.py @@ -38,3 +38,9 @@ ax.zaxis.set_major_locator(LinearLocator(6)) plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# styling: color, styling: texture, +# level: intermediate diff --git a/galleries/examples/mplot3d/surface3d_radial.py b/galleries/examples/mplot3d/surface3d_radial.py index 0d27c9b58cbb..43edd68ee28e 100644 --- a/galleries/examples/mplot3d/surface3d_radial.py +++ b/galleries/examples/mplot3d/surface3d_radial.py @@ -35,3 +35,8 @@ ax.set_zlabel(r'$V(\phi)$') plt.show() + +# %% +# .. tags:: +# plot-type: 3D, plot-type: polar, +# level: beginner diff --git a/galleries/examples/mplot3d/text3d.py b/galleries/examples/mplot3d/text3d.py index 165ae556c334..881ecfaf406e 100644 --- a/galleries/examples/mplot3d/text3d.py +++ b/galleries/examples/mplot3d/text3d.py @@ -44,3 +44,9 @@ ax.set_zlabel('Z axis') plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# component: annotation, +# level: beginner diff --git a/galleries/examples/mplot3d/tricontour3d.py b/galleries/examples/mplot3d/tricontour3d.py index abf72103d098..fda8de784d71 100644 --- a/galleries/examples/mplot3d/tricontour3d.py +++ b/galleries/examples/mplot3d/tricontour3d.py @@ -43,3 +43,8 @@ ax.view_init(elev=45.) plt.show() + +# %% +# .. tags:: +# plot-type: 3D, plot-type: specialty, +# level: intermediate diff --git a/galleries/examples/mplot3d/tricontourf3d.py b/galleries/examples/mplot3d/tricontourf3d.py index 94cee6b3aaa9..edf79495e374 100644 --- a/galleries/examples/mplot3d/tricontourf3d.py +++ b/galleries/examples/mplot3d/tricontourf3d.py @@ -44,3 +44,8 @@ ax.view_init(elev=45.) plt.show() + +# %% +# .. tags:: +# plot-type: 3D, plot-type: specialty, +# level: intermediate diff --git a/galleries/examples/mplot3d/trisurf3d.py b/galleries/examples/mplot3d/trisurf3d.py index 2d288908ab69..f4e7444a4311 100644 --- a/galleries/examples/mplot3d/trisurf3d.py +++ b/galleries/examples/mplot3d/trisurf3d.py @@ -30,3 +30,8 @@ ax.plot_trisurf(x, y, z, linewidth=0.2, antialiased=True) plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# level: intermediate diff --git a/galleries/examples/mplot3d/trisurf3d_2.py b/galleries/examples/mplot3d/trisurf3d_2.py index cb53aabbea1d..b04aa5efb0b1 100644 --- a/galleries/examples/mplot3d/trisurf3d_2.py +++ b/galleries/examples/mplot3d/trisurf3d_2.py @@ -77,3 +77,8 @@ plt.show() + +# %% +# .. tags:: +# plot-type: 3D, plot-type: specialty, +# level: intermediate diff --git a/galleries/examples/mplot3d/view_planes_3d.py b/galleries/examples/mplot3d/view_planes_3d.py index c4322d60fe93..1cac9d61ad1f 100644 --- a/galleries/examples/mplot3d/view_planes_3d.py +++ b/galleries/examples/mplot3d/view_planes_3d.py @@ -55,3 +55,9 @@ def annotate_axes(ax, text, fontsize=18): axd['L'].set_axis_off() plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# component: axes, component: subplot, +# level: beginner diff --git a/galleries/examples/mplot3d/voxels.py b/galleries/examples/mplot3d/voxels.py index 7bd9cf45a2b0..ec9f0f413f3a 100644 --- a/galleries/examples/mplot3d/voxels.py +++ b/galleries/examples/mplot3d/voxels.py @@ -32,3 +32,8 @@ ax.voxels(voxelarray, facecolors=colors, edgecolor='k') plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# level: beginner diff --git a/galleries/examples/mplot3d/voxels_numpy_logo.py b/galleries/examples/mplot3d/voxels_numpy_logo.py index 34eb48dcbe8a..c128f055cbe6 100644 --- a/galleries/examples/mplot3d/voxels_numpy_logo.py +++ b/galleries/examples/mplot3d/voxels_numpy_logo.py @@ -45,3 +45,9 @@ def explode(data): ax.set_aspect('equal') plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# level: beginner, +# purpose: fun diff --git a/galleries/examples/mplot3d/voxels_rgb.py b/galleries/examples/mplot3d/voxels_rgb.py index 3ee1e1eab1a6..6f201b08b386 100644 --- a/galleries/examples/mplot3d/voxels_rgb.py +++ b/galleries/examples/mplot3d/voxels_rgb.py @@ -42,3 +42,8 @@ def midpoints(x): ax.set_aspect('equal') plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# styling: color diff --git a/galleries/examples/mplot3d/voxels_torus.py b/galleries/examples/mplot3d/voxels_torus.py index 98621b60976c..db0fdbc6ea4d 100644 --- a/galleries/examples/mplot3d/voxels_torus.py +++ b/galleries/examples/mplot3d/voxels_torus.py @@ -44,3 +44,9 @@ def midpoints(x): linewidth=0.5) plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# styling: color, +# level: intermediate diff --git a/galleries/examples/mplot3d/wire3d.py b/galleries/examples/mplot3d/wire3d.py index 9849c8bebf56..357234f51174 100644 --- a/galleries/examples/mplot3d/wire3d.py +++ b/galleries/examples/mplot3d/wire3d.py @@ -20,3 +20,8 @@ ax.plot_wireframe(X, Y, Z, rstride=10, cstride=10) plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# level: beginner diff --git a/galleries/examples/mplot3d/wire3d_animation_sgskip.py b/galleries/examples/mplot3d/wire3d_animation_sgskip.py index a735f41d94b6..903ff4918586 100644 --- a/galleries/examples/mplot3d/wire3d_animation_sgskip.py +++ b/galleries/examples/mplot3d/wire3d_animation_sgskip.py @@ -39,3 +39,9 @@ plt.pause(.001) print('Average FPS: %f' % (100 / (time.time() - tstart))) + +# %% +# .. tags:: +# plot-type: 3D, +# component: animation, +# level: beginner diff --git a/galleries/examples/mplot3d/wire3d_zero_stride.py b/galleries/examples/mplot3d/wire3d_zero_stride.py index fe45b6c16fcf..ff6a14984b5d 100644 --- a/galleries/examples/mplot3d/wire3d_zero_stride.py +++ b/galleries/examples/mplot3d/wire3d_zero_stride.py @@ -27,3 +27,8 @@ plt.tight_layout() plt.show() + +# %% +# .. tags:: +# plot-type: 3D, +# level: intermediate pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy