File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
doc/source/user_guide/tutorials/plot Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ First for a node scoping:
5252 # Create a scoping of the first 100 node IDs of the mesh
5353 node_scoping = dpf.Scoping(location=dpf.locations.nodal, ids=mesh_1.nodes.scoping.ids[0:100])
5454 # Plot the node scoping applied to the mesh, with nodes shown as red dots
55- node_scoping.plot(mesh=mesh_1, color="red")
55+ node_scoping.plot(mesh=mesh_1, color="red", show_mesh=True )
5656
5757Then for an element scoping:
5858
@@ -63,7 +63,7 @@ Then for an element scoping:
6363 location=dpf.locations.elemental, ids=mesh_1.elements.scoping.ids[0:100]
6464 )
6565 # Plot the element scoping applied to the mesh, with elements shown in green
66- element_scoping.plot(mesh=mesh_1, color="green")
66+ element_scoping.plot(mesh=mesh_1, color="green", show_mesh=True )
6767
6868
6969Plot a collection of mesh scopings
You can’t perform that action at this time.
0 commit comments