VideoPlot#

class prose.blocks.visualization.VideoPlot(plot_function, destination, fps=10, name=None)[source]#

Make a video out of a plotting function

Parameters:
  • plot_function (function) – a plotting function taking an prose.Image as input

  • destination (str or Path) – destination of the video, including extension

  • fps (int, optional) – frame per seconds, by default 10

  • antialias (bool, optional) – whether pyplot antialias should be used, by default False