Skip to content

Commit

Permalink
apparently staging one change in vscode doesn't stage the whole file?
Browse files Browse the repository at this point in the history
  • Loading branch information
kilacoda committed May 24, 2021
1 parent ac7a522 commit 2a74a7f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions chanim/chem_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

from typing import List, Union

import numpy as np

from .templates import ChemReactionTemplate, ChemTemplate

from manim.mobject.types.vectorized_mobject import VGroup, VMobject
Expand Down Expand Up @@ -655,7 +657,7 @@ def __init__(self, bond: TexSymbol, length=0.7, **kwargs):


class ElectronPair(VGroup):
"""Electron Pair: Two electrons (SmallDots) in a VGroup
"""Electron Pair: Two electrons (Dots) in a VGroup
Arguments:
None -- Just use this as it is and change the kwargs if you want
Expand All @@ -664,7 +666,7 @@ class ElectronPair(VGroup):
# CONFIG = dict(color=YELLOW, pair_buff=0.15)

def __init__(self, color=YELLOW, pair_buff=0.15, **kwargs):
super().__init__(SmallDot(), SmallDot(), **kwargs)
super().__init__(Dot(radius=DEFAULT_SMALL_DOT_RADIUS), Dot(RADIUS=DEFAULT_SMALL_DOT_RADIUS), **kwargs)
self.arrange(RIGHT, buff=pair_buff).set_color(color)


Expand Down

0 comments on commit 2a74a7f

Please sign in to comment.