Commit e3b6817
Replace deprecated imageio.get_writer with imageio.mimwrite
imageio.get_writer is deprecated in imageio v3. Switch to imageio.mimwrite,
which is the recommended higher-level API for writing video files and works
in both imageio v2 and v3. Also removes the manual writer.close() call
since mimwrite handles resource cleanup internally.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 3a81a0f commit e3b6817
1 file changed
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
244 | 243 | | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
254 | | - | |
255 | 253 | | |
256 | 254 | | |
257 | 255 | | |
| |||
0 commit comments