From: Gilles DAVID Date: Wed, 7 Jun 2017 06:37:04 +0000 (+0200) Subject: Paraview 5.4: Fix Python error X-Git-Tag: V9_0_0~10^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=058c7998d5894aea1a8b3a49520247df44c18f09;p=modules%2Fparavis.git Paraview 5.4: Fix Python error Tests still fail due to image differences. --- diff --git a/src/PV_SWIG/presentations.py b/src/PV_SWIG/presentations.py index 3c05d6ec..91c7721e 100644 --- a/src/PV_SWIG/presentations.py +++ b/src/PV_SWIG/presentations.py @@ -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