Commit e942d85
authored
fix: Use non-gui matplotlib backend for tests to avoid hanging on ipywidgets interact (#2098)
* Avoid the notebook tests hanging on the ipywidgets interact sections of `InterpolationCodes.ipynb`
by setting the matplotlib backend to the non-gui Agg which disallows the creation of the gui elements
that are causing the problem.
* Remove '%pylab inline' from InterpolationCodes.ipynb as pylab is very deprecated.
* Add --verobse flag to notebook tests to make it easier to track the progress of the notebooks in the
CI logs.1 parent 14127ae commit e942d85
File tree
3 files changed
+8
-12
lines changed- .github/workflows
- docs/examples/notebooks/learn
- tests
3 files changed
+8
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 7 | + | |
16 | 8 | | |
17 | | - | |
18 | | - | |
19 | 9 | | |
| 10 | + | |
| 11 | + | |
20 | 12 | | |
21 | 13 | | |
22 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
| |||
0 commit comments