Skip to content

Commit dd3e3aa

Browse files
Merge branch 'main' into dev
2 parents d00d8a8 + 9a8c0e6 commit dd3e3aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autopilot/core/plots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def l_start(self, value):
365365
pass
366366

367367
# Make plot items for each data type
368-
for data, plot in self.plot_params['data'].items():
368+
for data, plot in self.plot_params.get('data', {}).items():
369369
# TODO: Better way of doing params for plots, redo when params are refactored
370370
if plot == 'rollmean' and 'roll_window' in self.plot_params.keys():
371371
self.plots[data] = Roll_Mean(winsize=self.plot_params['roll_window'])

0 commit comments

Comments
 (0)