Skip to content

Commit

Permalink
doc: add raises to docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
danielolsen committed Jun 1, 2021
1 parent dec43fa commit 4e14055
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions postreise/plot/plot_transmission_upgrades_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@ def map_transmission_upgrades(
:param str legend_location: location for legend.
:param \\*\\*plot_kwargs: collected keyword arguments to be passed to
:func:`add_transmission_upgrades`.
:raises ValueError: if ``scenario1`` and ``scenario2`` do not match both grid_model
and interconnect.
:return: (*bokeh.plotting.figure.Figure*) -- Bokeh map plot of color-coded upgrades.
"""
# Validate inputs
Expand Down

0 comments on commit 4e14055

Please sign in to comment.