Salome HOME
Show an average value of control in the demo plugin
[modules/gui.git] / src / SalomeApp / pluginsdemo / smesh_plugins.py
index 299b48886dce74167920d07df9b155338536013c..b56ca2d2ec754f5e1bc2c2d97fefea660784d268 100644 (file)
@@ -1,6 +1,5 @@
-# -*- coding: utf-8 -*-
-#!/usr/bin/env python
-# Copyright (C) 2010-2015  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
@@ -28,6 +27,6 @@ from minmax_plugin import *
  
 # 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)