vispy / jupyter_rfb

Remote Frame Buffer for Jupyter
https://jupyter-rfb.readthedocs.io
MIT License
58 stars 10 forks source link

let .snapshot() not return None. Use stub image if no array data. #40

Closed almarklein closed 3 years ago

almarklein commented 3 years ago

Addendum to #37. The .snapshot() method would return None if get_frame() would return None, but it is confusing when this happens. Better generate a stub 1px gray image instead.