render_sparkline_simple

Documentation for eth_defi.research.sparkline.render_sparkline_simple function.

render_sparkline_simple(vault_prices_df, width=256, height=64, ffill=True)

Render a sparkline chart for a single vault.

Parameters
  • spec – chain-vault address identifier

  • ffill – Forward-fill the sparse source data

  • vault_prices_df (pandas.core.frame.DataFrame) –

  • width (int) –

  • height (int) –

Return type

matplotlib.figure.Figure