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.