]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Paraview 5.4: Fix Python error
authorGilles DAVID <gilles-g.david@edf.fr>
Wed, 7 Jun 2017 06:37:04 +0000 (08:37 +0200)
committerGilles DAVID <gilles-g.david@edf.fr>
Wed, 7 Jun 2017 06:37:06 +0000 (08:37 +0200)
Tests still fail due to image differences.

src/PV_SWIG/presentations.py

index 3c05d6ec812e7e982fe9124cad6cd81e3ac949c7..91c7721e185aa788c6c894b9ea258fae9df5bb57 100644 (file)
@@ -904,7 +904,8 @@ def add_scalar_bar(field_name, nb_components,
     scalar_bar.LookupTable = lookup_table
 
     # Set default properties same as in Post-Pro
-    scalar_bar.NumberOfLabels = 5
+    # NumberOfLabels removed (see commit ff8f9cb6 in PARAVIEW)
+    # scalar_bar.NumberOfLabels = 5
     scalar_bar.AutomaticLabelFormat = 0
     scalar_bar.LabelFormat = '%-#6.6g'
     # Title