Skip to content

Commit a55d38c

Browse files
docs: minor changes. (#4109)
removed deprecated. file, solution. indent function attribute. --------- Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent b6bfe96 commit a55d38c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
minor changes.

doc/source/user_guide/monitors.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ callback mechanism to perform a simple tabulation of monitored values per iterat
2929
>>> import_data = examples.download_file(
3030
>>> file_name="exhaust_system.dat.h5", directory="pyfluent/exhaust_system"
3131
>>> )
32-
>>> solver.file.read_case_data(file_name=import_case)
32+
>>> solver.settings.file.read_case_data(file_name=import_case)
3333
>>> # check the active report plot monitors using the settings relevant object
3434
>>> sorted(solver.settings.solution.monitor.report_plots())
3535
>>> [
@@ -39,7 +39,7 @@ callback mechanism to perform a simple tabulation of monitored values per iterat
3939
>>> "point-vel-rplot",
4040
>>> ]
4141
>>> # initialize so that monitors object is usable
42-
>>> solver.solution.initialization.hybrid_initialize()
42+
>>> solver.settings.solution.initialization.hybrid_initialize()
4343
>>> # check which monitors are available
4444
>>> sorted(solver.monitors.get_monitor_set_names())
4545
>>> [
@@ -67,7 +67,7 @@ callback mechanism to perform a simple tabulation of monitored values per iterat
6767
>>> # The streamed data contains duplicates, so eliminate them
6868
>>> df = df.drop_duplicates(subset='Iteration')
6969
>>> print(tabulate(df, headers='keys', tablefmt='psql'))
70-
>>> display_table.iter_count = 0
70+
>>> display_table.iter_count = 0
7171
>>> return display_table
7272
>>>
7373
>>>

0 commit comments

Comments
 (0)