Skip to content

Commit

Permalink
Merge pull request #21 from fusion-energy/add_mirror_option_to_gui
Browse files Browse the repository at this point in the history
added mirror option to GUI
  • Loading branch information
shimwell authored Mar 20, 2024
2 parents 7d1789c + e9feb5c commit 353a2a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/openmc_cylindrical_mesh_plotter/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ def main():
title = None

if basis == "RZ":
mirror = st.sidebar.radio("Mirror", options=[True, False], index=1)
outline = st.sidebar.radio("Geometry outline", options=[True, False])
if outline:
geometry_basis = st.sidebar.selectbox(
Expand Down Expand Up @@ -237,6 +238,7 @@ def main():
scaling_factor=scaling_factor,
colorbar_kwargs={"label": title},
norm=norm,
mirror=mirror,
# outline_kwargs: dict = _default_outline_kwargs,
# **kwargs,
)
Expand Down

0 comments on commit 353a2a5

Please sign in to comment.