Skip to content

Commit

Permalink
fixes default NAD parameters in the explorer widget
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Biasuzzi <christian.biasuzzi@soft.it>
  • Loading branch information
CBiasuzzi authored and flo-dup committed Nov 24, 2024
1 parent f160266 commit 97b48cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pypowsybl_jupyter/networkexplorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ def network_explorer(network: Network, vl_id : str = None, use_name:bool = True,

npars = nad_parameters if nad_parameters is not None else NadParameters(edge_name_displayed=False,
id_displayed=not use_name,
edge_info_along_edge=False,
edge_info_along_edge=True,
power_value_precision=1,
angle_value_precision=0,
current_value_precision=1,
voltage_value_precision=0,
bus_legend=False,
bus_legend=True,
substation_description_displayed=True)

spars=sld_parameters if sld_parameters is not None else SldParameters(use_name=use_name, nodes_infos=True)
Expand Down

0 comments on commit 97b48cc

Please sign in to comment.