From 7a1bcc90a1f8082d7dc1bd7151b122a7448838a6 Mon Sep 17 00:00:00 2001 From: Filip Izydorczyk Date: Mon, 21 Jun 2021 20:19:46 +0200 Subject: [PATCH] scater args fix --- finance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finance.py b/finance.py index 2296048..16d47df 100755 --- a/finance.py +++ b/finance.py @@ -250,7 +250,7 @@ def change_time_period(selectedData): [Input('table_selector', 'value')]) def update_point_chart(selected_dropdown_value): selected_stock_in_table_df = fullTableDf.xs(selected_dropdown_value, axis=1, level=1) - figure = px.scatter(selected_stock_in_table_df, x='Volume', y='Dividends', template='plotly_dark') + figure = px.scatter(selected_stock_in_table_df, x='Dividends', y='Close', template='plotly_dark') return figure if __name__ == '__main__':