Skip to content

Commit

Permalink
Fix cmin/cmax
Browse files Browse the repository at this point in the history
  • Loading branch information
diaza committed Oct 19, 2024
1 parent f3cb8d7 commit 7820e99
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion event_display/interactive_event_display/display_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,8 @@ def create_3d_figure(minerva_data, data, filename, evid):
"xanchor": "left",
"x": 0,
},
"cmin": 0.,
"cmax": 5.,
},
name="prompt hits",
mode="markers",
Expand All @@ -358,14 +360,16 @@ def create_3d_figure(minerva_data, data, filename, evid):
"opacity": 0.9,
"colorscale": colorscale_charge,
"colorbar": {
"title": "Hit energy [MeV]",
"title": "Hit E [MeV]",
"titlefont": {"size": 12},
"tickfont": {"size": 10},
"thickness": 15,
"len": 0.5,
"xanchor": "left",
"x": 0,
},
"cmin": 0.,
"cmax": 5.,
},
name="final hits",
mode="markers",
Expand Down

0 comments on commit 7820e99

Please sign in to comment.