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, base, ...])

Build a full performance report figure.

tearsheet_text(result[, period])

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

plot_equity(result[, ax, base, logy])

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.

plot_exposure(W[, ax])

Plot the book's gross and net exposure over time.

Factor tear-sheet

Panels for the factor-evaluation metrics in fynance.metrics.factor, plus a one-call factor_tearsheet.

plot_quantile_returns(result[, ax])

Plot the cumulative compounded return of each factor quantile.

plot_ic_series(ic[, w_smooth, ax])

Plot a rolling Information Coefficient with a smoothed overlay.

plot_ic_decay(decay, horizons[, ax])

Bar chart of the Information Coefficient across forward horizons.

factor_tearsheet(factor, prices[, ...])

Build a full Alphalens-style factor tear-sheet figure.