Skip to content

Commit

Permalink
Merge branch 'adding_color_map_to_gui' of github.com:fusion-energy/op…
Browse files Browse the repository at this point in the history
…enmc_cylindrical_mesh_plotter into adding_color_map_to_gui
  • Loading branch information
shimwell committed Mar 20, 2024
2 parents d738354 + ec7a66d commit 200856e
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 @@ -202,6 +202,7 @@ def main():
)

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 @@ -246,6 +247,7 @@ def main():
scaling_factor=scaling_factor,
colorbar_kwargs={"label": title},
norm=norm,
mirror=mirror,
cmap=cmap,
# outline_kwargs: dict = _default_outline_kwargs,
# **kwargs,
Expand Down

0 comments on commit 200856e

Please sign in to comment.