class_docstr: Custom sphinx-gallery scraper to save the current Canvas to an image.
code: def _frame_specifier_to_list(self, frame_specifier):
      _frames = frame_specifier or "0"
      frames = [int(i) for i in _frames.split(":")]
      if not frames:
          frames = [5]
      if len(frames) > 1:
          frames = list(range(*frames))
      return frames
  
imports: from __future__ import annotations
  import os
  import time
  import shutil
  from vispy.io import imsave
  from vispy.gloo.util import _screenshot
  from vispy.scene import SceneCanvas
  from sphinx_gallery.scrapers import optipng, figure_rst
label_desc: Use image node_id 5 for calling the VisPyGalleryScraper obj's underlying member method code with example usage: obj._frame_specifier_to_list(frame_specifier) and returns: frames