-# -*- coding: utf-8 -*-
-#!/usr/bin/env python
-# Copyright (C) 2010-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+#!/usr/bin/env python3
+# Copyright (C) 2010-2021 CEA/DEN, EDF R&D, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# register the function in the plugin manager
if DEMO_IS_ACTIVATED:
- salome_pluginsmanager.AddFunction('Get min or max value of control',
- 'Get min or max value of control',
+ salome_pluginsmanager.AddFunction('Get min, max and average value of control',
+ 'Get min, max and average value of control',
minmax)