visbrain.objects.SceneObj¶
- class visbrain.objects.SceneObj(bgcolor='black', camera_state={}, verbose=None, **kwargs)[source][source]¶
Create a scene and add objects to it.
- Parameters:
- bgcolorstring | ‘black’
Background color of the scene.
- showbool | True
Display the canvas.
- camera_statedict | {}
The default camera state to use.
- verbosestring
Verbosity level.
Notes
List of supported shortcuts :
s : save the figure
delete : reset all views
Methods
__init__
([bgcolor, camera_state, verbose])Init.
add_to_subplot
(obj[, row, col, row_span, ...])Add object to subplot.
link
(*args)Link the camera of several objects of the scene.
preview
([mpl])Previsualize the result.
record_animation
(name[, n_pic])Record an animated scene and save as a *.gif file.
render
()Render the canvas.
screenshot
(saveas[, print_size, dpi, unit, ...])Take a screeshot of the scene.
Examples using visbrain.objects.SceneObj
¶

Connectivity object (ConnectObj) : complete tutorial

Grid of signals object (GridSignalsObj) : complete tutorial

Region Of Interest object (RoiObj) : complete tutorial

Time-series and pictures 3D (TimeSeries3DObj & Picture3DObj): complete tutorial