Skip to content

Commit

Permalink
Fix a Bokeh deprecation warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
blakejohnson committed Feb 17, 2016
1 parent 432ba74 commit 9aea68e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion QGL/Plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion QGL/PulseSequencePlotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9aea68e

Please sign in to comment.