diff --git a/chanim/chem_objects.py b/chanim/chem_objects.py index f58960d..076d9bb 100644 --- a/chanim/chem_objects.py +++ b/chanim/chem_objects.py @@ -544,7 +544,7 @@ def __init__( self, chem, name, name_direction=DOWN, label_constructor=Tex, buff=1, **kwargs ): - super().__init__(self, **kwargs) + super().__init__(**kwargs) if isinstance( chem, (ChemObject, ComplexChemIon, ComplexChemCompound, ChemAbove) @@ -657,6 +657,12 @@ def set_same_height_for_all_mobjects(self, iterableable): if index != 0: iterableable[index].set_y(iterableable[index - 1].get_y()) +#Defines TexSymbol for use in the BondBreak class +class TexSymbol(VMobject): + """ + Purely a renaming of VMobjectFromSVGPathstring + """ + pass class BondBreak(DashedLine): """