ehpor / hcipy

A framework for performing optical propagation simulations, meant for high contrast imaging, in Python.
https://hcipy.org
MIT License
91 stars 30 forks source link

Imageio v3 API changes. #209

Closed ehpor closed 11 months ago

ehpor commented 11 months ago
tests/test_plotting.py: 25 warnings
  /home/vsts/work/1/s/hcipy/plotting/animation.py:154: DeprecationWarning: Starting with ImageIO v3 the behavior of this function will switch to that of iio.v3.imread. To keep the current behavior (and make this warning disappear) use `import imageio.v2 as imageio` or call `imageio.v2.imread` directly.
    frame = imageio.imread(buf.getvalue())