import logging
from databroker import DataBroker as db


from bluesky.standard_config import *
from ophyd.commands import *

gs.RE.md['owner'] = 'xf28id1'
gs.RE.md['group'] = 'XPD'
gs.RE.md['beamline_id'] = 'xpd'


import bluesky.qt_kicker
bluesky.qt_kicker.install_qt_kicker()

@@ -12,48 +12,164 @@
 ing%0A
-from databroker import DataBroker as db%0A
+%0A# Import these things for convenience.%0Afrom databroker import DataBroker as db, get_images, get_table, get_events%0Aimport ophyd%0Afrom ophyd.commands import *
 %0A%0Afr
@@ -207,37 +207,8 @@
 rt *
-%0Afrom ophyd.commands import *
 %0A%0Ags
@@ -294,16 +294,51 @@
  'xpd'%0A%0A
+# This makes the plots update live.
 %0Aimport 
@@ -393,8 +393,30 @@
 icker()%0A
+del bluesky.qt_kicker%0A

Clean up imports