Salome HOME
Update tests to ParaView 5.0 (merge from master)
[modules/paravis.git] / test / VisuPrs / ScalarMap / G1.py
index eaa0b71be52841ab4b858407e59599206443585e..67059e7d36a9a1c3badb24cf64b49b4b3b3b6854 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2010-2014  CEA/DEN, EDF R&D
+# Copyright (C) 2010-2016  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 paravis
-
-# Create presentations 
-myParavis = paravis.myParavis
 
 # Directory for saving snapshots
-picturedir = get_picture_dir("ScalarMap/G1") 
+picturedir = get_picture_dir("ScalarMap/G1")
 
 file = datadir + "maill.2.med"
 print " --------------------------------- "
 print "file ", file
 print " --------------------------------- "
 print "CreatePrsForFile..."
-CreatePrsForFile(myParavis, file, [PrsTypeEnum.SCALARMAP], picturedir, pictureext)
+CreatePrsForFile(file, [PrsTypeEnum.SCALARMAP], picturedir, pictureext)