Skip to content

Commit

Permalink
Update plot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
marcocuturi committed Jul 24, 2023
1 parent 8126976 commit 738547b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ott/tools/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def animate(
"""Make an animation from several transports."""
_ = self(transports[0])
if titles is None:
titles = [None for _ in np.range(0, len(transports))]
titles = [None for _ in np.arange(0, len(transports))]
assert len(titles) == len(transports), (
f"titles/transports lengths differ `{len(titles)}`/`{len(transports)}`."
)
Expand Down

0 comments on commit 738547b

Please sign in to comment.