Skip to content

Commit

Permalink
Merge pull request #381 from scipp/mesh3d-version-in-docs
Browse files Browse the repository at this point in the history
Fix versionadded for mesh3d in docs
  • Loading branch information
nvaytet authored Sep 26, 2024
2 parents 56ae40d + 8e1aa13 commit 6e074f7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions docs/user-guide/plot-types/mesh3d-plot.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
"source": [
"# 3D mesh plot\n",
"\n",
"<div class=\"versionadded\" style=\"font-weight: bold;\">\n",
"\n",
"<img src=\"../../_static/circle-exclamation.svg\" width=\"16\" height=\"16\" />\n",
"&nbsp;\n",
"New in version 24.09.2.\n",
"\n",
"</div>\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."
]
Expand Down
2 changes: 2 additions & 0 deletions src/plopp/backends/pythreejs/mesh3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ class Mesh3d:
"""
Artist to represent a three-dimensional mesh.
.. versionadded:: 24.09.2
Parameters
----------
canvas:
Expand Down
2 changes: 1 addition & 1 deletion src/plopp/plotting/mesh3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def mesh3d(
"""
Create a 3D mesh plot.
.. versionadded:: 24.10.0
.. versionadded:: 24.09.2
Parameters
----------
Expand Down

0 comments on commit 6e074f7

Please sign in to comment.