diff --git a/daqviewer/daqviewer.py b/daqviewer/daqviewer.py index 89cdfb9..f0d9842 100644 --- a/daqviewer/daqviewer.py +++ b/daqviewer/daqviewer.py @@ -155,8 +155,13 @@ def read_json_data(json_data): figure={ 'data': spec, 'layout': { + 'title': 'Energy spectrum', 'xaxis': { - 'range': [0, f_max] + 'range': [0, f_max], + 'title': 'Frequency (Hz)', + }, + 'yaxis': { + 'title': 'Energy (mm^2.s)', } } })