Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/source/_ext/autodocclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _update(clss, obj_name, parent_name=None, parent_path=None):
if the_member_name.startswith("_"):
continue
cls = getattr(clss, the_member_name)
the_member_value = cls.__doc__.split("\n")[0]
the_member_value = (cls.__doc__ or "").split("\n")[0]
if cls.__class__.__name__ in (
"PyLocalPropertyMeta",
"PyLocalObjectMeta",
Expand Down
3 changes: 3 additions & 0 deletions src/ansys/fluent/visualization/matplotlib/matplot_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import sys
from typing import Optional

from ansys.fluent.core.meta import Command
from ansys.fluent.core.post_objects.post_object_definitions import (
MonitorDefn,
XYPlotDefn,
Expand Down Expand Up @@ -48,6 +49,7 @@ class XYPlot(XYPlotDefn):
plot1.plot("window-0")
"""

@Command
def plot(self, window_id: Optional[str] = None):
"""Draw XYPlot.

Expand Down Expand Up @@ -82,6 +84,7 @@ class MonitorPlot(MonitorDefn):
plot1.plot("window-0")
"""

@Command
def plot(self, window_id: Optional[str] = None):
"""Draw Monitor Plot.

Expand Down
6 changes: 6 additions & 0 deletions src/ansys/fluent/visualization/pyvista/pyvista_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import sys
from typing import Optional

from ansys.fluent.core.meta import Command
from ansys.fluent.core.post_objects.post_object_definitions import (
ContourDefn,
MeshDefn,
Expand Down Expand Up @@ -52,6 +53,7 @@ class Mesh(MeshDefn):
mesh1.display("window-0")
"""

@Command
def display(self, window_id: Optional[str] = None):
"""Display mesh graphics.

Expand All @@ -78,6 +80,7 @@ class Pathlines(PathlinesDefn):
pathlines1.display("window-0")
"""

@Command
def display(self, window_id: Optional[str] = None):
"""Display mesh graphics.

Expand Down Expand Up @@ -115,6 +118,7 @@ class Surface(SurfaceDefn):
surface1.display("window-0")
"""

@Command
def display(self, window_id: Optional[str] = None):
"""Display surface graphics.

Expand Down Expand Up @@ -150,6 +154,7 @@ class Contour(ContourDefn):
contour1.display("window-0")
"""

@Command
def display(self, window_id: Optional[str] = None):
"""Display contour graphics.

Expand Down Expand Up @@ -186,6 +191,7 @@ class Vector(VectorDefn):
vector1.display("window-0")
"""

@Command
def display(self, window_id: Optional[str] = None):
"""Display vector graphics.

Expand Down