diff --git a/scripts/openmc-plot-mesh-tally b/scripts/openmc-plot-mesh-tally index e500cd5ca7..b4ce925874 100755 --- a/scripts/openmc-plot-mesh-tally +++ b/scripts/openmc-plot-mesh-tally @@ -176,8 +176,8 @@ class MeshPlotter(tk.Frame): # Set combobox items if filterType in ['Energy', 'Energyout']: - combobox['values'] = ['{} to {}'.format(bin) - for bin in f.bins)] + combobox['values'] = ['{} to {}'.format(*ebin) + for ebin in f.bins] else: combobox['values'] = [str(i) for i in f.bins]