Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ParaView: AnyLocation -> Any Location #150

Merged
merged 1 commit into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ExampleCodes/Amr/Advection_AmrCore/Exec/paraview_amr101.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def generate_movie_3D(AllPlotFiles):
phiLUTColorBar = GetScalarBar(phiLUT, renderView1)

# change scalar bar placement
phiLUTColorBar.WindowLocation = 'AnyLocation'
phiLUTColorBar.WindowLocation = 'Any Location'
phiLUTColorBar.Position = [0, 0.75]
phiLUTColorBar.ScalarBarLength = 0.2

Expand Down Expand Up @@ -284,7 +284,7 @@ def generate_movie_2D(AllPlotFiles):
phiLUTColorBar = GetScalarBar(phiLUT, renderView1)

# change scalar bar placement
phiLUTColorBar.WindowLocation = 'AnyLocation'
phiLUTColorBar.WindowLocation = 'Any Location'
phiLUTColorBar.Position = [0, 0.75]
phiLUTColorBar.ScalarBarLength = 0.2

Expand Down Expand Up @@ -336,4 +336,4 @@ def convert_avi_to_gif(output_movie_base, output_movie):
output_movie_base, output_movie = generate_movie_2D(PlotFiles)

# convert the avi movie into an animated gif
convert_avi_to_gif(output_movie_base, output_movie)
convert_avi_to_gif(output_movie_base, output_movie)
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class Pipeline:

# get color legend/bar for phiLUT in view renderView1
phiLUTColorBar = GetScalarBar(phiLUT, renderView1)
phiLUTColorBar.WindowLocation = 'AnyLocation'
phiLUTColorBar.WindowLocation = 'Any Location'
phiLUTColorBar.Position = [0.7951562900333077, 0.0840151515151517]
phiLUTColorBar.Title = 'phi'
phiLUTColorBar.ComponentTitle = ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
# get color legend/bar for phiLUT in view renderView1
phiLUTColorBar = GetScalarBar(phiLUT, renderView1)
phiLUTColorBar.Orientation = 'Horizontal'
phiLUTColorBar.WindowLocation = 'AnyLocation'
phiLUTColorBar.WindowLocation = 'Any Location'
phiLUTColorBar.Position = [0.4079687499999999, 0.09624999999999999]
phiLUTColorBar.Title = 'phi'
phiLUTColorBar.ComponentTitle = ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class Pipeline:

# get color legend/bar for phiLUT in view renderView1
phiLUTColorBar = GetScalarBar(phiLUT, renderView1)
phiLUTColorBar.WindowLocation = 'AnyLocation'
phiLUTColorBar.WindowLocation = 'Any Location'
phiLUTColorBar.Position = [0.7951562900333077, 0.0840151515151517]
phiLUTColorBar.Title = 'phi'
phiLUTColorBar.ComponentTitle = ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
# get color legend/bar for phiLUT in view renderView1
phiLUTColorBar = GetScalarBar(phiLUT, renderView1)
phiLUTColorBar.Orientation = 'Horizontal'
phiLUTColorBar.WindowLocation = 'AnyLocation'
phiLUTColorBar.WindowLocation = 'Any Location'
phiLUTColorBar.Position = [0.4079687499999999, 0.09624999999999999]
phiLUTColorBar.Title = 'phi'
phiLUTColorBar.ComponentTitle = ''
Expand Down
Loading