Commit 1f69a60
authored
notebook screenshot tests (#277)
* started nb screenshot tests, add reset_vmin_vmax() on ImageCmapFeature
* nb test screenshots to CI
* add simple.ipynb test screenshots
* imageio note in simple.ipynb
* try to make failure detection work
* faster scatter nb, less points
* lines_cmap nb screenshot tests
* simplify notebook_finished()
* use real image for lines underlay
* fix arg
* fix test
* update nb screenshots
* type annotation, small change to try and get git lfs to pull in PR action1 parent c7265d3 commit 1f69a60Copy full SHA for 1f69a60
22 files changed
+714-251Lines changed: 714 additions & 251 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- .github/workflows
- examples/notebooks
- screenshots
- fastplotlib/graphics/_features
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
97 | 97 | |
98 | 98 | |
99 | 99 | |
100 | | - |
| 100 | + |
| 101 | + |
| 102 | + |
Collapse file
.github/workflows/screenshots.yml
Copy file name to clipboardExpand all lines: .github/workflows/screenshots.yml+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
44 | 44 | |
45 | 45 | |
46 | 46 | |
| 47 | + |
47 | 48 | |
48 | 49 | |
49 | 50 | |
50 | 51 | |
51 | | - |
| 52 | + |
| 53 | + |
| 54 | + |
Collapse file
examples/notebooks/lines_cmap.ipynb
Copy file name to clipboardExpand all lines: examples/notebooks/lines_cmap.ipynb+114Lines changed: 114 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
16 | 29 | |
17 | 30 | |
18 | 31 | |
| ||
49 | 62 | |
50 | 63 | |
51 | 64 | |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
52 | 77 | |
53 | 78 | |
54 | 79 | |
| ||
69 | 94 | |
70 | 95 | |
71 | 96 | |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
72 | 110 | |
73 | 111 | |
74 | 112 | |
| ||
81 | 119 | |
82 | 120 | |
83 | 121 | |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
84 | 135 | |
85 | 136 | |
86 | 137 | |
| ||
93 | 144 | |
94 | 145 | |
95 | 146 | |
| 147 | + |
| 148 | + |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
96 | 160 | |
97 | 161 | |
98 | 162 | |
| ||
105 | 169 | |
106 | 170 | |
107 | 171 | |
| 172 | + |
| 173 | + |
| 174 | + |
| 175 | + |
| 176 | + |
| 177 | + |
| 178 | + |
| 179 | + |
| 180 | + |
| 181 | + |
| 182 | + |
| 183 | + |
| 184 | + |
108 | 185 | |
109 | 186 | |
110 | 187 | |
| ||
129 | 206 | |
130 | 207 | |
131 | 208 | |
| 209 | + |
| 210 | + |
| 211 | + |
| 212 | + |
| 213 | + |
| 214 | + |
| 215 | + |
| 216 | + |
| 217 | + |
| 218 | + |
| 219 | + |
| 220 | + |
| 221 | + |
132 | 222 | |
133 | 223 | |
134 | 224 | |
| ||
147 | 237 | |
148 | 238 | |
149 | 239 | |
| 240 | + |
| 241 | + |
| 242 | + |
| 243 | + |
| 244 | + |
| 245 | + |
| 246 | + |
| 247 | + |
| 248 | + |
| 249 | + |
| 250 | + |
| 251 | + |
| 252 | + |
| 253 | + |
| 254 | + |
| 255 | + |
| 256 | + |
| 257 | + |
| 258 | + |
| 259 | + |
| 260 | + |
| 261 | + |
| 262 | + |
| 263 | + |
150 | 264 | |
151 | 265 | |
152 | 266 | |
|
Collapse file
examples/notebooks/nb_test_utils.py
Copy file name to clipboard+87Lines changed: 87 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
Collapse file
examples/notebooks/scatter.ipynb
Copy file name to clipboardExpand all lines: examples/notebooks/scatter.ipynb+44-72Lines changed: 44 additions & 72 deletions
Large diffs are not rendered by default.
Collapse file
examples/notebooks/screenshots/nb-astronaut.png
Copy file name to clipboard+3Lines changed: 3 additions & 0 deletions
- Display the source diff
- Display the rich diff
Loading
Collapse file
examples/notebooks/screenshots/nb-astronaut_RGB.png
Copy file name to clipboard+3Lines changed: 3 additions & 0 deletions
- Display the source diff
- Display the rich diff
Loading
Collapse file
examples/notebooks/screenshots/nb-camera.png
Copy file name to clipboard+3Lines changed: 3 additions & 0 deletions
- Display the source diff
- Display the rich diff
Loading
Collapse file
examples/notebooks/screenshots/nb-lines-3d.png
Copy file name to clipboard+3Lines changed: 3 additions & 0 deletions
- Display the source diff
- Display the rich diff
Loading
Collapse file
examples/notebooks/screenshots/nb-lines-cmap-jet-values-cosine.png
Copy file name to clipboard+3Lines changed: 3 additions & 0 deletions
- Display the source diff
- Display the rich diff
Loading
0 commit comments