Skip to content

Commit 34ed8ac

Browse files
committed
adds napari screenshot to quickstart
1 parent bcdf35f commit 34ed8ac

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

examples/quick_start/plot_quick_start.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@
6464
# the dimension slider to compare channels 1 and 3 of round 1 (zero-based indexing),
6565
# you can already see which cells express mouse ACTB and which cells express human ACTB.
6666
#
67-
# .. code-block:: python
68-
#
69-
# from starfish import display
70-
#
71-
# %gui qt
72-
# viewer = display(imgs)
73-
# viewer.layers[0].name = "raw stack" # rename the layer
67+
from starfish import display
68+
from napari.utils.notebook_display import nbscreenshot
69+
70+
%gui qt
71+
viewer = display(imgs)
72+
viewer.layers[0].name = "raw stack" # rename the layer
73+
nbscreenshot(viewer)
7474

7575
####################################################################################################
7676
# **View codebook**
@@ -309,4 +309,4 @@ def make_expression_matrix(masks, decoded):
309309
# :ref:`Data Formatting<section_formatting_data>` and then follow the :ref:`User
310310
# Guide<user_guide>` to create a pipeline tailored to your data. If
311311
# you want to try creating pipelines but don't have data yet, :py:mod:`starfish.data` has a
312-
# number of example datasets you can experiment with.
312+
# number of example datasets you can experiment with.

0 commit comments

Comments
 (0)