Figure
visbrain.objects.BrainObj
visbrain.objects.ColorbarObj
visbrain.objects.ConnectObj
visbrain.objects.CrossSecObj
visbrain.objects.GridSignalsObj
visbrain.objects.ImageObj
visbrain.objects.PacmapObj
visbrain.objects.Picture3DObj
visbrain.objects.RoiObj
visbrain.objects.SourceObj
visbrain.objects.TopoObj
visbrain.objects.TimeFrequencyObj
visbrain.objects.TimeSeries3DObj
visbrain.objects.VectorObj
visbrain.objects.VolumeObj
HypnogramObj.
screenshot
(saveas, print_size=None, dpi=300.0, unit='centimeter', factor=None, region=None, autocrop=False, bgcolor=None, transparent=False, obj=None, line_width=1.0, **kwargs)[source]¶Take a screeshot of the scene.
By default, the rendered canvas will have the size of your screen. The screenshot() method provides two ways to increase to exported image resolution :
- Using print_size, unit and dpi inputs : specify the size of the image at a specific dpi level. For example, you might want to have an (10cm, 15cm) image at 300 dpi.
- Using the factor input : multiply the default image size by this factor. For example, if you have a (1920, 1080) monitor and if factor is 2, the exported image should have a shape of (3840, 2160) pixels.
Parameters: |
|
---|