# Examples Animated comparisons of `pyakima` against SciPy's cubic splines. The images follow the light/dark toggle in the sidebar. ## Corner models Two-panel animation. Top: as one control point slides up and down, the pyakima makima curve hugs the data while a natural cubic spline rings above and below the spike. Bottom: a zoom on a sharp kink where the non-rounded, akima, and makima corner models round the corner by differing amounts. Two-panel animation. Top: as one control point slides up and down, the pyakima makima curve hugs the data while a natural cubic spline rings above and below the spike. Bottom: a zoom on a sharp kink where the non-rounded, akima, and makima corner models round the corner by differing amounts. ```{include} ../README.md :start-after: :end-before: ``` ## Irregular grids Single panel animation. As the control points slide between a regular and irregular grid, the pyakima makima curve smoothly hugs the data, while the scipy default cubic spline oscillates so strongly it extends off the plotted y axis. Single panel animation. As the control points slide between a regular and irregular grid, the pyakima makima curve smoothly hugs the data, while the scipy default cubic spline oscillates so strongly it extends off the plotted y axis. ```{include} ../README.md :start-after: :end-before: ``` ```{include} ../README.md :start-after: :end-before: ``` ```{include} ../README.md :start-after: :end-before: ```