Skip to main content

Type Alias: StepMode

StepMode = "before" | "after" | "center"

Defined in: src/mobjects/graphing/StepChart.ts:16

Where the step between two points falls.

  • 'after': hold the current value, then jump at the next x (matplotlib 'post').
  • 'before': jump at the current x, then hold to the next x (matplotlib 'pre').
  • 'center': jump halfway between the two x-values (matplotlib 'mid').