Skip to content

Commit d6fab58

Browse files
committed
Fix grammar
1 parent 79dbf84 commit d6fab58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/examples/Widget Events.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@
362362
"\n",
363363
"When trait changes trigger a callback that performs a heavy computation, you may want to do the computation as rarely as possible. For instance, if the trait is driven by a slider which has its `continuous_update` set to `True`, the user will trigger a bunch of computations in rapid succession. Debouncing solves this problem by waiting for some time any time the trait value has changed to see if it is going to change again, in which case the callback is not called. If the value does not change after some time, then the callback is called with the last value of the trait. The effect is that the callback is only called when the trait pauses changing for a certain amount of time.\n",
364364
"\n",
365-
"Debouncing can be implemented using threads or asynchronous programming. We show an asynchronous solution below, which is more suited for ipywidgets. If you would like to instead use a threads-based solution, replace the `Timer` class with `from threading import Timer`."
365+
"Debouncing can be implemented using threads or asynchronous programming. We show an asynchronous solution below, which is more suited for ipywidgets. If you would like to instead use threads to do the debouncing, replace the `Timer` class with `from threading import Timer`."
366366
]
367367
},
368368
{

0 commit comments

Comments
 (0)