Skip to content

Commit

Permalink
Merge pull request #154 from carez/minor-fixes-in-qt-examples
Browse files Browse the repository at this point in the history
Minor fixes in examples
  • Loading branch information
danielballan authored Sep 15, 2021
2 parents 1360750 + b90b5de commit 73a9f92
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bluesky_widgets/examples/headless_figures.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from ophyd.sim import motor, det

from bluesky_widgets.utils.streaming import stream_documents_into_runs
from bluesky_widgets.models.plot_builders import AutoLines
from bluesky_widgets.models.auto_plot_builders import AutoLines
from bluesky_widgets.headless.figures import HeadlessFigures
from bluesky_widgets.examples.utils.generate_msgpack_data import get_catalog

Expand Down
2 changes: 1 addition & 1 deletion bluesky_widgets/examples/napari_dock_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def load_images_from_run(self, view_images):

with napari.gui_qt():
viewer = NapariDatabroker()
viewer.grid_view() # Place images side by side, not stacked.
viewer.grid.enabled = True
viewer.window.add_dock_widget(QtSearchListWithButton(viewer.searches), area="right")

# Initialize with a two search tabs: one with some generated example data...
Expand Down
4 changes: 2 additions & 2 deletions bluesky_widgets/examples/pyFAI_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -863,8 +863,8 @@ def main():
# Begin modifications for bluesky_widgets

from qtpy.QtWidgets import QDialog
from bluesky_widgets.models.search.searches import Search
from bluesky_widgets.qt.searches import QtSearch
from bluesky_widgets.models.search import Search
from bluesky_widgets.qt.search import QtSearch
from bluesky_widgets.examples.utils.generate_msgpack_data import get_catalog
from bluesky_widgets.examples.utils.add_search_mixin import columns

Expand Down

0 comments on commit 73a9f92

Please sign in to comment.