Skip to content

Commit 7057507

Browse files
authored
ParaView: AnyLocation -> Any Location (#150)
ParaView 5.10 released three years ago changed AnyLocation to Any Location.
1 parent beca1f5 commit 7057507

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

ExampleCodes/Amr/Advection_AmrCore/Exec/paraview_amr101.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def generate_movie_3D(AllPlotFiles):
146146
phiLUTColorBar = GetScalarBar(phiLUT, renderView1)
147147

148148
# change scalar bar placement
149-
phiLUTColorBar.WindowLocation = 'AnyLocation'
149+
phiLUTColorBar.WindowLocation = 'Any Location'
150150
phiLUTColorBar.Position = [0, 0.75]
151151
phiLUTColorBar.ScalarBarLength = 0.2
152152

@@ -284,7 +284,7 @@ def generate_movie_2D(AllPlotFiles):
284284
phiLUTColorBar = GetScalarBar(phiLUT, renderView1)
285285

286286
# change scalar bar placement
287-
phiLUTColorBar.WindowLocation = 'AnyLocation'
287+
phiLUTColorBar.WindowLocation = 'Any Location'
288288
phiLUTColorBar.Position = [0, 0.75]
289289
phiLUTColorBar.ScalarBarLength = 0.2
290290

@@ -336,4 +336,4 @@ def convert_avi_to_gif(output_movie_base, output_movie):
336336
output_movie_base, output_movie = generate_movie_2D(PlotFiles)
337337

338338
# convert the avi movie into an animated gif
339-
convert_avi_to_gif(output_movie_base, output_movie)
339+
convert_avi_to_gif(output_movie_base, output_movie)

ExampleCodes/SENSEI/Advection_AmrCore/Exec/SingleVortex/sensei/render_iso_catalyst_2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class Pipeline:
149149

150150
# get color legend/bar for phiLUT in view renderView1
151151
phiLUTColorBar = GetScalarBar(phiLUT, renderView1)
152-
phiLUTColorBar.WindowLocation = 'AnyLocation'
152+
phiLUTColorBar.WindowLocation = 'Any Location'
153153
phiLUTColorBar.Position = [0.7951562900333077, 0.0840151515151517]
154154
phiLUTColorBar.Title = 'phi'
155155
phiLUTColorBar.ComponentTitle = ''

ExampleCodes/SENSEI/Advection_AmrCore/Exec/SingleVortex/sensei/render_iso_catalyst_3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
# get color legend/bar for phiLUT in view renderView1
139139
phiLUTColorBar = GetScalarBar(phiLUT, renderView1)
140140
phiLUTColorBar.Orientation = 'Horizontal'
141-
phiLUTColorBar.WindowLocation = 'AnyLocation'
141+
phiLUTColorBar.WindowLocation = 'Any Location'
142142
phiLUTColorBar.Position = [0.4079687499999999, 0.09624999999999999]
143143
phiLUTColorBar.Title = 'phi'
144144
phiLUTColorBar.ComponentTitle = ''

ExampleCodes/SENSEI/Advection_AmrLevel/Exec/SingleVortex/sensei/render_iso_catalyst_2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class Pipeline:
149149

150150
# get color legend/bar for phiLUT in view renderView1
151151
phiLUTColorBar = GetScalarBar(phiLUT, renderView1)
152-
phiLUTColorBar.WindowLocation = 'AnyLocation'
152+
phiLUTColorBar.WindowLocation = 'Any Location'
153153
phiLUTColorBar.Position = [0.7951562900333077, 0.0840151515151517]
154154
phiLUTColorBar.Title = 'phi'
155155
phiLUTColorBar.ComponentTitle = ''

ExampleCodes/SENSEI/Advection_AmrLevel/Exec/SingleVortex/sensei/render_iso_catalyst_3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
# get color legend/bar for phiLUT in view renderView1
139139
phiLUTColorBar = GetScalarBar(phiLUT, renderView1)
140140
phiLUTColorBar.Orientation = 'Horizontal'
141-
phiLUTColorBar.WindowLocation = 'AnyLocation'
141+
phiLUTColorBar.WindowLocation = 'Any Location'
142142
phiLUTColorBar.Position = [0.4079687499999999, 0.09624999999999999]
143143
phiLUTColorBar.Title = 'phi'
144144
phiLUTColorBar.ComponentTitle = ''

0 commit comments

Comments
 (0)