Skip to content

Commit 391e05c

Browse files
author
fsalmoir
committed
some documentation and tests added for the gui new features
1 parent 982557f commit 391e05c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

pygem/igeshandler.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,9 @@ def plot(self, plot_file=None, save_fig=False):
219219
:param string plot_file: the iges filename you want to plot.
220220
:param bool save_fig: a flag to save the figure in png or not. If True the
221221
plot is not shown.
222+
223+
:return: figure: matlplotlib structure for the figure of the chosen geometry
224+
:rtype: matplotlib.pyplot.figure
222225
"""
223226
if plot_file is None:
224227
plot_file = self.infile

pygem/stlhandler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ def plot(self, plot_file=None, save_fig=False):
8888
:param bool save_fig: a flag to save the figure in png or not. If True the
8989
plot is not shown.
9090
91-
aggiungere return
91+
:return: figure: matlplotlib structure for the figure of the chosen geometry
92+
:rtype: matplotlib.pyplot.figure
9293
"""
9394
if plot_file is None:
9495
plot_file = self.infile

0 commit comments

Comments
 (0)