diff --git a/QGL/Plotting.py b/QGL/Plotting.py index 85da6285..6ddd4d71 100644 --- a/QGL/Plotting.py +++ b/QGL/Plotting.py @@ -78,7 +78,7 @@ def plot_waveforms(waveforms, figTitle = ''): plots = [] for (ct,chan) in enumerate(channels): fig = bk.figure(title=figTitle + repr(chan), plot_width=800, plot_height=350, y_range=[-1.05, 1.05]) - fig.background_fill = config.plotBackground + fig.background_fill_color = config.plotBackground if config.gridColor: fig.xgrid.grid_line_color = config.gridColor fig.ygrid.grid_line_color = config.gridColor diff --git a/QGL/PulseSequencePlotter.py b/QGL/PulseSequencePlotter.py index c374675f..58e42588 100644 --- a/QGL/PulseSequencePlotter.py +++ b/QGL/PulseSequencePlotter.py @@ -93,7 +93,7 @@ def plot_pulse_files(fileNames, firstSeqNum=0): source = bk.ColumnDataSource(data=dataDict) figH = bk.figure(title=title, plot_width=1000, y_range=(-1,len(dataDict)+1)) - figH.background_fill = config.plotBackground + figH.background_fill_color = config.plotBackground if config.gridColor: figH.xgrid.grid_line_color = config.gridColor figH.ygrid.grid_line_color = config.gridColor