solidipes.viewers.viewer module
- class solidipes.viewers.viewer.Viewer(data_container=None, add_kwargs={}, show_kwargs={}, **kwargs)[source]
Bases:
ABCAbstract class for viewers.
If istanciated with data, it will directly display it.
- Parameters:
data – data to display
add_kwargs – kwargs to pass to the add method. Note: cannot be passed as a positional argument because of get_data_from_container decorator.
show_kwargs – kwargs to pass to the show method
**kwargs – kwargs to pass to the init method
- _abc_impl = <_abc._abc_data object>
- class_path = 'solidipes.viewers.viewer.Viewer'
- compatible_data_types
List of data types (apart from DataContainers) that are compatible with the viewer DataContainers themselves already declare their compatible Viewers