diff --git a/src/agent0/chainsync/streamlit/Dashboard.py b/src/agent0/chainsync/streamlit/Dashboard.py index 079525d9b..39f1eb9df 100644 --- a/src/agent0/chainsync/streamlit/Dashboard.py +++ b/src/agent0/chainsync/streamlit/Dashboard.py @@ -55,7 +55,7 @@ main_fig = mpf.figure(style="mike", figsize=(10, 10)) # matplotlib doesn't play nice with types -(ax_ohlcv, ax_fixed_rate, ax_vault_share_price, ax_positions) = main_fig.subplots(4, 1, sharex=True) # type: ignore +(ax_ohlcv, ax_fixed_rate, ax_positions, ax_share_price) = main_fig.subplots(4, 1, sharex=True) # type: ignore while True: if selected_hyperdrive_address is not None: @@ -76,13 +76,13 @@ # Clears all axes ax_ohlcv.clear() ax_fixed_rate.clear() - ax_vault_share_price.clear() ax_positions.clear() + ax_share_price.clear() plot_ohlcv(data_dfs["ohlcv"], ax_ohlcv) plot_rates(data_dfs["fixed_rate"], data_dfs["variable_rate"], ax_fixed_rate) - plot_share_price(data_dfs["vault_share_price"], ax_vault_share_price) plot_outstanding_positions(data_dfs["outstanding_positions"], ax_positions) + plot_share_price(data_dfs["vault_share_price"], ax_share_price) ax_ohlcv.tick_params(axis="both", which="both") ax_fixed_rate.tick_params(axis="both", which="both")