Skip to content

Commit

Permalink
Doctest skip plot calls for now
Browse files Browse the repository at this point in the history
  • Loading branch information
PProfizi committed Aug 19, 2022
1 parent 9bc8d54 commit a57bc81
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ansys/dpf/core/field.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def plot(self, shell_layers=None,
>>> disp = model.results.displacement()
>>> fields_container = disp.outputs.fields_container()
>>> field = fields_container[0]
>>> mesh.plot(field)
>>> mesh.plot(field) # doctest: +SKIP
Parameters
----------
Expand Down
4 changes: 2 additions & 2 deletions ansys/dpf/core/meshed_region.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def grid(self):
Plot this grid directly.
>>> grid.plot()
>>> grid.plot() # doctest: +SKIP
Extract the surface mesh of this grid
Expand Down Expand Up @@ -525,7 +525,7 @@ def plot(
>>> model = dpf.Model(examples.static_rst)
>>> disp = model.results.displacement()
>>> field = disp.outputs.fields_container()[0]
>>> model.metadata.meshed_region.plot(field)
>>> model.metadata.meshed_region.plot(field) # doctest: +SKIP
"""
if field_or_fields_container is not None:
Expand Down
2 changes: 1 addition & 1 deletion ansys/dpf/core/meshes_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def plot(self, fields_container=None, deform_by=None, scale_factor=1.0, **kwargs
... mesh = meshes_cont
... )
>>> disp_fc = disp_op.outputs.fields_container()
>>> meshes_cont.plot(disp_fc)
>>> meshes_cont.plot(disp_fc) # doctest: +SKIP
"""
# DPF defaults
Expand Down
2 changes: 1 addition & 1 deletion ansys/dpf/core/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def plot(self, color="w", show_edges=True, **kwargs):
>>> from ansys.dpf.core import examples
>>> transient = examples.download_transient_result()
>>> model = Model(transient)
>>> model.plot()
>>> model.plot() # doctest: +SKIP
"""
from ansys.dpf.core.plotter import DpfPlotter
Expand Down

0 comments on commit a57bc81

Please sign in to comment.