Skip to content

Commit

Permalink
seaborn-white grid depriciation fixed muscular snake example
Browse files Browse the repository at this point in the history
  • Loading branch information
armantekinalp committed Mar 19, 2024
1 parent 35f77c4 commit ffd802c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/MuscularSnake/post_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def plot_video_with_surface(
video_name_2D = folder_name + "2D_xy_" + video_name

with writer.saving(fig, video_name_2D, dpi):
with plt.style.context("seaborn-whitegrid"):
with plt.style.context("seaborn-v0_8-whitegrid"):
for time_idx in tqdm(range(0, sim_time.shape[0], int(step))):

for rod_idx in range(n_visualized_rods):
Expand Down Expand Up @@ -299,7 +299,7 @@ def plot_video_with_surface(
video_name_2D = folder_name + "2D_zy_" + video_name

with writer.saving(fig, video_name_2D, dpi):
with plt.style.context("seaborn-whitegrid"):
with plt.style.context("seaborn-v0_8-whitegrid"):
for time_idx in tqdm(range(0, sim_time.shape[0], int(step))):

for rod_idx in range(n_visualized_rods):
Expand Down Expand Up @@ -392,7 +392,7 @@ def plot_video_with_surface(
video_name_2D = folder_name + "2D_xz_" + video_name

with writer.saving(fig, video_name_2D, dpi):
with plt.style.context("seaborn-whitegrid"):
with plt.style.context("seaborn-v0_8-whitegrid"):
for time_idx in tqdm(range(0, sim_time.shape[0], int(step))):

for rod_idx in range(n_visualized_rods):
Expand Down

0 comments on commit ffd802c

Please sign in to comment.