def __init__(self, expression, **kwargs): digest_config(self, kwargs, locals()) self.is_input_a_list = isinstance(expression, list) VMobject.__init__(self, **kwargs) self.move_into_position() if self.organize_left_to_right: self.organize_submobjects_left_to_right()
def __init__(self, *args, **kwargs): digest_config(self, kwargs, locals()) ##TODO, Eventually remove this if len(args) == 1 and isinstance(args[0], list): self.args = args[0] ## assert (all([isinstance(a, str) for a in self.args])) self.tex_string = self.get_modified_expression() VMobject.__init__(self, **kwargs) self.move_into_position() if self.organize_left_to_right: self.organize_submobjects_left_to_right()
def __init__(self, *args, **kwargs): digest_config(self, kwargs, locals()) ##TODO, Eventually remove this if len(args) == 1 and isinstance(args[0], list): self.args = args[0] ## assert(all([isinstance(a, str) for a in self.args])) self.tex_string = self.get_modified_expression() VMobject.__init__(self, **kwargs) self.move_into_position() if self.organize_left_to_right: self.organize_submobjects_left_to_right()
def __init__(self, **kwargs): digest_config(self, kwargs, locals()) self.ensure_valid_file() VMobject.__init__(self, **kwargs) self.move_into_position()
def __init__(self, path_string, **kwargs): digest_locals(self) VMobject.__init__(self, **kwargs)
def __init__(self, path_string, **kwargs): digest_locals(self) VMobject.__init__(self, **kwargs)
def __init__(self, svg_file, **kwargs): digest_config(self, kwargs, locals()) VMobject.__init__(self, **kwargs) self.move_into_position()
def __init__(self, **kwargs): digest_config(self, kwargs, locals()) self.ensure_valid_file() VMobject.__init__(self, **kwargs) self.move_into_position()
def __init__(self, expression, **kwargs): digest_config(self, kwargs, locals()) VMobject.__init__(self, **kwargs) self.move_into_position() self.organize_submobjects()