From 0bf9fea22904ebe22b3c4ef1acffb262d9a85265 Mon Sep 17 00:00:00 2001 From: Mathieu Westphal Date: Fri, 7 Oct 2016 14:39:25 +0200 Subject: [PATCH] Correcting testMEDReader20 and baseline --- .../Test/Baselines/testMEDReader20.png | Bin 5000 -> 3412 bytes src/Plugins/MEDReader/Test/testMEDReader20.py | 12 ------------ 2 files changed, 12 deletions(-) diff --git a/src/Plugins/MEDReader/Test/Baselines/testMEDReader20.png b/src/Plugins/MEDReader/Test/Baselines/testMEDReader20.png index c27a45f9f82b206bb05b0e82ed6d959705fec799..f84b3a27ba67cbc8610ca67a8fb41f72f83c781d 100644 GIT binary patch literal 3412 zcmeHKc{G%58z0hwGGmFPBD;)2vYUBnEMu#&gzPUVTNsp`7)wgVU>IUfOw^QwP{}B3 zG*b38uVE6sj3;Cn%lC};eCPZB`|~^BAJ4hZwcO8j-M{PlUH7@~UbZ$p!grhx0)ZSs zo1ttV5H2|9JH!oYeoKl=gL(-x%Fr&tZDArlpnvsb2jCEIyP0jIlJl$7&QRqTe8SG9 zPOyF{6O(lOP~lFMq#B8Ib0j!huJ7920{G{z$pJgllJF4S{)NoIk!qD6JHQYRKjsPY z>ib`X#JV9y$dKDwhv&w(kcIkf>?Dir+|*-QU{M*fC>06Jv!lrkEY}ZZ-B8|yBBT2K zkS$|gF0UMzs>%PC{}l+@R<#gr&JK%p^im=-betGbwMFH>X`$~&)&E)7TAGq|vtI60 zw*hcxOeoU?IgfQ_e0{TqxaG_+W{sJG?ymx;`apN;i%MnUtF?h9yFq%m^WSYiro}U= z`S_J?$J@qtDAYI8H~FvseR<>wCA}9n)+|0&wJd`^S~~!0pI4VPm#?3BCdL*dQ|5E` z$F-K%QqM@N%Fu>CH~vyU%-s`%nx-D?xzzZj#t}XT<}|#)4d#>~Yd%4Y&`?*MscYqD zgcgJYu2Gg|cTnnJXD1CqP*|g^Qinir7>Y0N!#g7`GQ3YT|q$f%h`B>nE z(|UZbwC1rRjS|BOjvDF;l5N+g3s*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&~AR~8o zcU9$nBK){G&0&@NitGj+FI`=aramb{y8a?g>Tq1r{a=on{^wcL84G8R);qaHeopX& O4UmVc$d<^M2L2c3M^|hB diff --git a/src/Plugins/MEDReader/Test/testMEDReader20.py b/src/Plugins/MEDReader/Test/testMEDReader20.py index 192b8b56..46ded62f 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader20.py +++ b/src/Plugins/MEDReader/Test/testMEDReader20.py @@ -94,18 +94,6 @@ renderView1.InteractionMode = '2D' renderView1.CameraPosition = [5.0, 0.5, 10000.0] renderView1.CameraFocalPoint = [5.0, 0.5, 0.0] -# set scalar coloring -ColorBy(testMEDReader20medDisplay, ('FIELD', 'vtkBlockColors')) - -# show color bar/color legend -testMEDReader20medDisplay.SetScalarBarVisibility(renderView1, True) - -# get color transfer function/color map for 'vtkBlockColors' -vtkBlockColorsLUT = GetColorTransferFunction('vtkBlockColors') - -# get opacity transfer function/opacity map for 'vtkBlockColors' -vtkBlockColorsPWF = GetOpacityTransferFunction('vtkBlockColors') - # set scalar coloring ColorBy(testMEDReader20medDisplay, ('CELLS', 'Field')) -- 2.39.2