Cell

class manim_eng.components.cells.Cell(voltage: str | None = None, **kwargs: Any)

Bases: Cells

Circuit symbol for a single cell.

Parameters:

voltage (str | None) – Voltage label to set on creation, if desired. Takes a TeX math mode string.

Attributes

Cell.animate

Used to animate the application of any method of self.

Cell.animation_overrides

Cell.anode

Return the anode (positive terminal) of the source.

Cell.cathode

Return the cathode (negative terminal) of the source.

Cell.color

Cell.depth

The depth of the mobject.

Cell.fill_color

If there are multiple colors (for gradient) this returns the first one

Cell.height

The height of the mobject.

Cell.left

Return the left-hand terminal of the component.

Cell.n_points_per_curve

Cell.negative

Return the negative (left-hand) terminal of the source.

Cell.positive

Return the positive (right-hand) terminal of the source.

Cell.right

Return the right-hand terminal of the component.

Cell.sheen_factor

Cell.stroke_color

Cell.terminals

The list of terminals of the component.

Cell.width

The width of the mobject.