LayersFinalizedMessage#
- class jdaviz.core.events.LayersFinalizedMessage(data, viewer, viewer_id=None, *args, **kwargs)[source]#
Bases:
MessageThis event type is a temporary solution to AddDataMessage ordering issues. In app.py after the AddDataMessage is broadcast, modifications are made to the viewer layers (e.g. setting visibility). This message is broadcast after those modifications are made so that plugins can also set layer visiblity after data is added to a viewer without the visibility being modified by the code in app.py that runs after the AddDataMessage is broadcast.
Create a new message
- Parameters:
sender – The object sending the message
tag – An optional string describing the message
Attributes Summary
Attributes Documentation
- data#
- viewer#
- viewer_id#