navis 1.4.0
  • Install
  • Quickstart
  • Tutorials
  • API
  • Changelog
  • Github
  • Ecosystem
  • Site
    • Page
        • navis.Viewer.screenshot
          • Viewer.screenshot()

    navis.Viewer.screenshot¶

    Viewer.screenshot(filename='screenshot.png', pixel_scale=2, alpha=True, hide_overlay=True)[source]¶

    Save a screenshot of this viewer.

    Parameters:
    • filename (str, optional) – Filename to save to.

    • pixel_scale (int, optional) – Factor by which to scale canvas. Determines image dimensions.

    • alpha (bool, optional) – If True, will export transparent background.

    • hide_overlay (bool, optional) – If True, will hide overlay for screenshot.

    Back to top

    Source

    © Copyright 2018, Philipp Schlegel.
    Created using Sphinx 5.3.0.