Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
ieee8023 committed Jan 3, 2023
1 parent 7c16b42 commit 98f1efc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions captum/attr/_core/latent_shift.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def generate_video(
verbose: True to print debug text
extra_loops: The video does one loop by default. This will repeat
those loops to make it easier to watch.
cmap: The cmap value passed to matplotlib. e.g. 'gray' for a
cmap: The cmap value passed to matplotlib. e.g. 'gray' for a
grayscale image.
Returns:
Expand All @@ -283,7 +283,7 @@ def generate_video(
# Add reversed so we have an animation cycle
towrite = list(reversed(imgs)) + list(imgs)
ys = list(reversed(params["preds"])) + list(params["preds"])

for n in range(extra_loops):
towrite += towrite
ys += ys
Expand Down

0 comments on commit 98f1efc

Please sign in to comment.