Skip to content

Commit 2b859a4

Browse files
committed
animate2D: plot specified channel
1 parent 7a1547f commit 2b859a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WrightTools/artists/_animate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def gen_title(ind):
115115

116116
def updater(frame):
117117
logger.info(f"{frame=}")
118-
art.set_array(data.channels[0][frame])
118+
art.set_array(channel[frame])
119119
ax.set_title(gen_title(frame))
120120
art.set_norm(norm() if call_norm else norm)
121121
fig.canvas.draw_idle()

0 commit comments

Comments
 (0)