PieChartSector

Qualified name: manimextra.diagrams.PieChartSector

class manimextra.diagrams.PieChartSector(value, percent, label, *args, **kwargs)

Bases: AnnularSector

A sector of a pie chart.

Parameters:
  • value (float) – The value of the sector.

  • percent (float) – The percentage of the sector.

  • label (str) – The label of the sector.

Methods

Attributes

animate

Used to animate the application of any method of self.

animation_overrides

color

depth

The depth of the mobject.

fill_color

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

height

The height of the mobject.

n_points_per_curve

sheen_factor

stroke_color

width

The width of the mobject.

_original__init__(value, percent, label, *args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.