-# Copyright (C) 2016 CEA/DEN, EDF R&D
+# Copyright (C) 2016-2023 CEA, EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
source_id = medcalc.LoadDataSource(datafile)
presentation_id = medcalc.MakeScalarMap(accessField(0), MEDCALC.VIEW_MODE_REPLACE, colorMap=MEDCALC.COLOR_MAP_BLUE_TO_RED_RAINBOW)
-sleep(2)
+sleep(1)
medcalc.RemovePresentation(presentation_id)
-sleep(2)
+sleep(1)