Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Output Widget.ipynb #3881

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/source/examples/Output Widget.ipynb
Original file line number Diff line number Diff line change
@@ -354,6 +354,7 @@
"```python\n",
"import threading\n",
"import time\n",
"import itertools\n",
"\n",
"def run():\n",
" for i in itertools.count(0):\n",

Unchanged files with check annotations Beta

for (let i = 0; i < cellCount; i++) {
const image = `widgets-cell-${i}.png`;
expect(captures[i]).toMatchSnapshot(image);

Check failure on line 43 in ui-tests/tests/widgets.test.ts

GitHub Actions / Visual Regression

tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs

1) tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs Error: Screenshot comparison failed: 49 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visual-Regression-Run-notebook-widgets-ipynb-and-capture-cell-outputs/widgets-cell-40-expected.png Received: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visual-Regression-Run-notebook-widgets-ipynb-and-capture-cell-outputs/widgets-cell-40-actual.png Diff: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visual-Regression-Run-notebook-widgets-ipynb-and-capture-cell-outputs/widgets-cell-40-diff.png 41 | for (let i = 0; i < cellCount; i++) { 42 | const image = `widgets-cell-${i}.png`; > 43 | expect(captures[i]).toMatchSnapshot(image); | ^ 44 | } 45 | }); 46 | }); at /home/runner/work/ipywidgets/ipywidgets/ui-tests/tests/widgets.test.ts:43:27

Check failure on line 43 in ui-tests/tests/widgets.test.ts

GitHub Actions / Visual Regression

tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs

1) tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 49 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visual-Regression-Run-notebook-widgets-ipynb-and-capture-cell-outputs-retry1/widgets-cell-40-expected.png Received: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visual-Regression-Run-notebook-widgets-ipynb-and-capture-cell-outputs-retry1/widgets-cell-40-actual.png Diff: /home/runner/work/ipywidgets/ipywidgets/ui-tests/test-results/tests-widgets-Widget-Visual-Regression-Run-notebook-widgets-ipynb-and-capture-cell-outputs-retry1/widgets-cell-40-diff.png 41 | for (let i = 0; i < cellCount; i++) { 42 | const image = `widgets-cell-${i}.png`; > 43 | expect(captures[i]).toMatchSnapshot(image); | ^ 44 | } 45 | }); 46 | }); at /home/runner/work/ipywidgets/ipywidgets/ui-tests/tests/widgets.test.ts:43:27
}
});
});