diff --git a/candlestick_chart_example.py b/candlestick_chart_example.py index c80b37d..565d4cf 100644 --- a/candlestick_chart_example.py +++ b/candlestick_chart_example.py @@ -5,7 +5,7 @@ from candlestick_chart import CandlestickChart from plot import plot end_date = datetime.today().date() -start_date = (end_date - timedelta(days=90)) +start_date = (end_date - timedelta(days = 90)) data = ohlc('SPX.XO', '1d', start_date = start_date, end_date = end_date) candlestick_chart = CandlestickChart( diff --git a/line_chart_example.py b/line_chart_example.py index a242fa1..34affa2 100644 --- a/line_chart_example.py +++ b/line_chart_example.py @@ -5,7 +5,7 @@ from line_chart import LineChart from plot import plot end_date = datetime.today().date() -start_date = (end_date - timedelta(days=90)) +start_date = (end_date - timedelta(days = 90)) data = ohlc('SPX.XO', '1d', start_date = start_date, end_date = end_date) line_chart = LineChart( diff --git a/plot.py b/plot.py index 4b0aa82..772b399 100644 --- a/plot.py +++ b/plot.py @@ -29,4 +29,4 @@ def figure_with_subplots(subplots: List[List[Chart]]) -> Figure: return figure def plot(chart: Chart) -> None: - figure_with_subplots([[chart]]).show(config={'displayModeBar': False}) \ No newline at end of file + figure_with_subplots([[chart]]).show(config = {'displayModeBar': False}) \ No newline at end of file