scaper icon indicating copy to clipboard operation
scaper copied to clipboard

Update examples.rst

Open mia-mia-w opened this issue 2 years ago • 2 comments

mia-mia-w avatar Jul 17 '21 21:07 mia-mia-w

So, I followed the tutorial (https://scaper.readthedocs.io/en/latest/examples.html#examples), but it gives me the following error: AttributeError: 'Scaper' object has no attribute 'reset_bg_spec'. So I changed sc.reset_bg_spec() and sc.reset_fg_spec() to sc.reset_bg_event_spec() and sc.reset_fg_event_spec(), the script is running without problem.

mia-mia-w avatar Jul 17 '21 21:07 mia-mia-w

So, I followed the tutorial (https://scaper.readthedocs.io/en/latest/examples.html#examples), but it gives me the following error: AttributeError: 'Scaper' object has no attribute 'reset_bg_spec'. So I changed sc.reset_bg_spec() and sc.reset_fg_spec() to sc.reset_bg_event_spec() and sc.reset_fg_event_spec(), the script is running without problem.

@mia-mia-w thanks for this. I was wondering why it didn't work!

Kovalt0 avatar Mar 30 '22 19:03 Kovalt0