From 8e1aa13e2ac401837946df976381d25ce2695fc7 Mon Sep 17 00:00:00 2001 From: Neil Vaytet Date: Thu, 26 Sep 2024 08:32:46 +0200 Subject: [PATCH] fix versionadded for mesh3d in docs --- docs/user-guide/plot-types/mesh3d-plot.ipynb | 8 ++++++++ src/plopp/backends/pythreejs/mesh3d.py | 2 ++ src/plopp/plotting/mesh3d.py | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/user-guide/plot-types/mesh3d-plot.ipynb b/docs/user-guide/plot-types/mesh3d-plot.ipynb index 71538bfb..a4c49efc 100644 --- a/docs/user-guide/plot-types/mesh3d-plot.ipynb +++ b/docs/user-guide/plot-types/mesh3d-plot.ipynb @@ -7,6 +7,14 @@ "source": [ "# 3D mesh plot\n", "\n", + "
\n", + "\n", + "\n", + " \n", + "New in version 24.09.2.\n", + "\n", + "
\n", + "\n", "This notebook illustrates how to render 3D meshes\n", "by supplying a list of vertex positions and vertex indices to construct the mesh faces." ] diff --git a/src/plopp/backends/pythreejs/mesh3d.py b/src/plopp/backends/pythreejs/mesh3d.py index 7f1c04eb..e5214cc1 100644 --- a/src/plopp/backends/pythreejs/mesh3d.py +++ b/src/plopp/backends/pythreejs/mesh3d.py @@ -17,6 +17,8 @@ class Mesh3d: """ Artist to represent a three-dimensional mesh. + .. versionadded:: 24.09.2 + Parameters ---------- canvas: diff --git a/src/plopp/plotting/mesh3d.py b/src/plopp/plotting/mesh3d.py index 98abb76d..f72fefaa 100644 --- a/src/plopp/plotting/mesh3d.py +++ b/src/plopp/plotting/mesh3d.py @@ -55,7 +55,7 @@ def mesh3d( """ Create a 3D mesh plot. - .. versionadded:: 24.10.0 + .. versionadded:: 24.09.2 Parameters ----------