Skip to content

Commit

Permalink
Merge branch 'sqlalchemy' of github.com:bbn-q/qgl into sqlalchemy
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewware committed Jul 3, 2019
2 parents eaaa01e + 9300cbc commit 73ed073
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion QGL/PulseSequencePlotter.py
Expand Up @@ -99,6 +99,7 @@ def update_plot(seq_ind):

elif backend=='bqplot':
from bqplot import DateScale, LinearScale, Axis, Lines, Figure, Tooltip
from bqplot.toolbar import Toolbar
from bqplot.colorschemes import CATEGORY10, CATEGORY20
from ipywidgets import interact, IntSlider, VBox
sx = LinearScale()
Expand Down Expand Up @@ -126,7 +127,8 @@ def segment_changed(change):
line.y = dat['y']
slider.observe(segment_changed, 'value')
fig = Figure(marks=lines, axes=[ax, ay], title='Waveform Plotter',animation_duration=50)
return VBox([slider, fig])
toolb = Toolbar(figure=fig)
return VBox([slider, fig, toolb])


def extract_waveforms(fileNames, nameDecorator='', time=False):
Expand Down

0 comments on commit 73ed073

Please sign in to comment.