Skip to content

Commit

Permalink
Merge pull request #34 from andreArtelt/main
Browse files Browse the repository at this point in the history
Fixes code formatting in usage documentation
  • Loading branch information
Mariosmsk authored Feb 9, 2024
2 parents 9e6574d + fd2b43e commit 444690f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Usage

Minimum Example:

.. code-block:: console
.. code-block:: python
from epyt import epanet
d = epanet('Net1.inp')
Expand All @@ -12,7 +12,7 @@ Minimum Example:
Plot the network:

.. code-block:: console
.. code-block:: python
d.plot()
Expand All @@ -21,13 +21,13 @@ Plot the network:

Lists all available functions and properties:

.. code-block:: console
.. code-block:: python
dir(d)
Retrieve some examples for the function:

.. code-block:: console
.. code-block:: python
help(d.getNodeElevations)
Expand Down

0 comments on commit 444690f

Please sign in to comment.