Salome HOME
Merge branch 'master' of ssh://git.salome-platform.org/modules/paravis
[modules/paravis.git] / test / VisuPrs / ScalarMap / E1.py
index f27eb793bd8e4c56a08246536acc10ac77bcb09b..738b39c5b6e73b9dc2e5d385036d386ac8198223 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2010-2014  CEA/DEN, EDF R&D
+# Copyright (C) 2010-2015  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 import sys
 from paravistest import datadir, pictureext, get_picture_dir
 from presentations import CreatePrsForFile, PrsTypeEnum
-import pvserver as paravis
-
-# Create presentations 
-myParavis = paravis.myParavis
 
 # Directory for saving snapshots
-picturedir = get_picture_dir("ScalarMap/E1") 
+picturedir = get_picture_dir("ScalarMap/E1")
 
 file = datadir + "H_COUPLEX1.med"
 print " --------------------------------- "
 print "file ", file
 print " --------------------------------- "
 print "CreatePrsForFile..."
-CreatePrsForFile(myParavis, file, [PrsTypeEnum.SCALARMAP], picturedir, pictureext)
+CreatePrsForFile(file, [PrsTypeEnum.SCALARMAP], picturedir, pictureext)