Skip to content

Commit

Permalink
added mirror option to gui
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Mar 20, 2024
1 parent 7d1789c commit e9feb5c
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 e9feb5c

Please sign in to comment.