Skip to content

Commit

Permalink
Fixed increment bug
Browse files Browse the repository at this point in the history
  • Loading branch information
schachmett committed Feb 5, 2021
1 parent 641aa94 commit aff1d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agfalta/leem/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def plot_mov(stack, cols=4, virtual=True, skip=None, **kwargs):
Takes either a file name, folder name or LEEMStack object."""
stack = stackify(stack, virtual=virtual)
if "increment" in kwargs:
kwargs["skip"] = kwargs.pop("increment")
skip = kwargs.pop("increment")
if skip:
stack = stack[::skip]

Expand Down

0 comments on commit aff1d25

Please sign in to comment.