Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fwitte committed May 17, 2021
1 parent 75f7359 commit 67650cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tespy_modules/networks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -593,13 +593,13 @@ optional arguments to the method:

- :code:`path`: Basepath, where the LaTeX data and figures are exported to.
- :code:`filename`: Filename of the report.
- :code:`rpt_formatter`: A formatting dictionary, for a sample see below.
- :code:`fmt`: A formatting dictionary, for a sample see below.

.. code-block:: python
from tespy.tools import document_model
rpt_params = {
fmt = {
'latex_body': True, # adds LaTeX body to compile report out of the box
'include_results': True, # include parameter specification and results
'HeatExchanger': { # for components of class HeatExchanger
Expand All @@ -617,7 +617,7 @@ optional arguments to the method:
'include_results': True, # include results
'draft': False # disable draft mode
}
document_model(mynetwork, rpt_formatter=rpt_params)
document_model(mynetwork, fmt=fmt)
.. note::

Expand Down

0 comments on commit 67650cd

Please sign in to comment.