Skip to content

Commit

Permalink
Make charge histogram visible on load
Browse files Browse the repository at this point in the history
  • Loading branch information
marjoleinvannuland committed Jun 13, 2024
1 parent c07b783 commit 2ec1f22
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions event_display/interactive_event_display/display_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,7 @@ def create_3d_figure(minerva_data, data, evid):
showlegend=True,
)
fig.add_traces(segs_traces)
# fig.update_layout(font=dict(size=14), plot_bgcolor='white', scene=dict(xaxis_title='x [cm]',
# yaxis_title='y [cm]', zaxis_title='z [cm]', camera=dict(up=dict(x=0, y=1, z=0), eye=dict(x=-1.25, y=1.1, z=-1.00))))

return fig, sim_version


Expand Down Expand Up @@ -701,7 +700,7 @@ def plot_charge(data, evid):
y=charge_io,
nbinsx=20,
name=f"IO group {i+1}",
visible="legendonly",
#visible="legendonly",
showlegend=True,
),
)
Expand Down

0 comments on commit 2ec1f22

Please sign in to comment.