simulariumio/data_objects/display_data.py
def check_set_default_display_type(self, has_subpoints):
        """
        If the display type hasn't been specified, set it to a default
        based on whether the agent has subpoints
        """
        if self.display_type != DISPLAY_TYPE.NONE:
            return
        self.display_type = DISPLAY_TYPE.FIBER if has_subpoints else DISPLAY_TYPE.SPHERE

        If the display type hasn't been specified, set it to a default
        based on whether the agent has subpoints
        
If the display type hasn't been specified, set it to a default
based on whether the agent has subpoints
If the display type hasn ' t been specified set it to a default based on whether the agent has subpoints
def check_set_default_display_type(self, has_subpoints):
        if self.display_type != DISPLAY_TYPE.NONE:
            return
        self.display_type = DISPLAY_TYPE.FIBER if has_subpoints else DISPLAY_TYPE.SPHERE
def check_set_default_display_type ( self , has_subpoints ) : if self . display_type != DISPLAY_TYPE . NONE : return self . display_type = DISPLAY_TYPE . FIBER if has_subpoints else DISPLAY_TYPE . SPHERE
If the display type hasn't been specified, set it to a default
based on whether the agent has subpoints
If the display type hasn ' t been specified set it to a default based on whether the agent has subpoints
"""
        If the display type hasn't been specified, set it to a default
        based on whether the agent has subpoints
        """
self
has_subpoints