Reporting (fynance.plot)

Composable matplotlib figures and a one-call tearsheet performance report. Each plot returns an Axes/Figure and never calls show — usable headless, in a notebook, or embedded in an app.

tearsheet(result[, period, figsize])

Build a full performance report figure.

tearsheet_text(result[, period])

Plain-text performance summary (for notebooks / CLI).

plot_equity(result[, ax])

Plot an equity curve.

plot_drawdown(result[, ax])

Plot the underwater drawdown curve.

plot_returns_hist(result[, bins, ax])

Histogram of per-step returns.

plot_rolling_sharpe(result[, window, ax])

Rolling Sharpe ratio of the equity curve.