diff --git a/tofu/data/_class8_plot.py b/tofu/data/_class8_plot.py index e0a02e44c..221c5d98e 100644 --- a/tofu/data/_class8_plot.py +++ b/tofu/data/_class8_plot.py @@ -63,6 +63,7 @@ def _plot_diagnostic_check( # ------- # data + # default defdata = 'etendue' c0 = ( data is None @@ -74,15 +75,15 @@ def _plot_diagnostic_check( if c0: data = defdata + # get data dict out = coll.get_diagnostic_data( key=key, key_cam=key_cam, data=data, units=units, ) - if out is None: - return + # extract ddata, dref, units, static, daxis = out refz = None