Skip to content

Commit 64316d7

Browse files
add an alias for 'interpolate_sequence'
1 parent b3c07a8 commit 64316d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/asyncgui_ext/clock.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,8 @@ async def interpolate_sequence(self, start, end, *, duration, step=0, transition
373373
p = transition(1.)
374374
yield output_type(p * slope_elem + start_elem for slope_elem, start_elem in zip_(slope, start))
375375

376+
interpolate_seq = interpolate_sequence
377+
376378
async def run_in_thread(self, func, *, daemon=None, polling_interval) -> Awaitable:
377379
'''
378380
Creates a new thread, runs a function within it, then waits for the completion of that function.

0 commit comments

Comments
 (0)