diff --git a/catalyst/exchange/live_graph_clock.py b/catalyst/exchange/live_graph_clock.py index 877f8115..60e7503b 100644 --- a/catalyst/exchange/live_graph_clock.py +++ b/catalyst/exchange/live_graph_clock.py @@ -24,8 +24,6 @@ from matplotlib import style log = Logger('LiveGraphClock') -style.use('dark_background') - fmt = mdates.DateFormatter('%Y-%m-%d %H:%M') @@ -63,6 +61,8 @@ class LiveGraphClock(object): self._before_trading_start_bar_yielded = True self.context = context + style.use('dark_background') + fig = plt.figure() fig.canvas.set_window_title('Enigma Catalyst: {}'.format( self.context.algo_namespace))