Skip to content

Commit 064850b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e8c36fb commit 064850b

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

WrightTools/artists/_animate.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,7 @@ def updater(frame):
150150
fig.canvas.draw_idle()
151151
return
152152

153-
return FuncAnimation(
154-
fig=fig,
155-
func=updater,
156-
frames=q2d.nfigs,
157-
**fa_kwargs,
158-
repeat=False
159-
)
153+
return FuncAnimation(fig=fig, func=updater, frames=q2d.nfigs, **fa_kwargs, repeat=False)
160154

161155

162156
def animate_interact2D(interact2D: interact2D_fig, back_and_forth=False, **kwargs):

tests/artists/test_animate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_animate_quick2D():
3636

3737
ani = wt.artists.animate_quick2D(d, fa_kwargs=dict(interval=100))
3838
return ani
39-
39+
4040

4141
if __name__ == "__main__":
4242
ani1 = test_animate2D()

0 commit comments

Comments
 (0)