Skip to content

Commit 3eac5a9

Browse files
authored
fix(doctest): fix the ScopingsContainer.plot docstring example (#2474)
1 parent 67f1d80 commit 3eac5a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ansys/dpf/core/scopings_container.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,17 +170,17 @@ def plot(
170170
>>> node_scoping_1 = dpf.Scoping(
171171
... location=dpf.locations.nodal,
172172
... ids=mesh.nodes.scoping.ids[0:100]
173-
...)
173+
... )
174174
>>> node_scoping_2 = dpf.Scoping(
175175
... location=dpf.locations.nodal,
176176
... ids=mesh.nodes.scoping.ids[300:400]
177-
...)
177+
... )
178178
>>> node_sc = dpf.ScopingsContainer()
179179
>>> node_sc.add_label(label="scoping", default_value=1)
180180
>>> node_sc.add_scoping(label_space={"scoping": 1}, scoping=node_scoping_1)
181181
>>> node_sc.add_scoping(label_space={"scoping": 2}, scoping=node_scoping_2)
182182
>>> node_sc.plot(mesh=mesh, show_mesh=True)
183-
183+
(None, <pyvista.plotting.plotter.Plotter ...>)
184184
"""
185185
from itertools import cycle
186186

0 commit comments

Comments
 (0)