Skip to content

Commit 33da084

Browse files
committed
fix indentation error
1 parent 72790aa commit 33da084

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

ves_seg/tools/ng.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313

1414

1515
def screenshot(path='temp.png', save=True, show=True, size=None):
16-
"""
17-
screenshot: use the screenshot capabilities built into neuroglancer to take high-resolution screenshots
18-
note that neuroglancer has to load in visible layers before taking a screenshot, so this function may hang on larger volumes
19-
20-
Inputs:
21-
path (str): the path to save the screenshot to
22-
save (bool): whether or not to save the screenshot to path
23-
show (bool): whether or not to show the screenshot with matplotlib
24-
size ([int, int]): force a specific size of the screenshot. larger size leads to a larger FOV for the screenshot
25-
"""
16+
"""
17+
screenshot: use the screenshot capabilities built into neuroglancer to take high-resolution screenshots
18+
note that neuroglancer has to load in visible layers before taking a screenshot, so this function may hang on larger volumes
19+
20+
Inputs:
21+
path (str): the path to save the screenshot to
22+
save (bool): whether or not to save the screenshot to path
23+
show (bool): whether or not to show the screenshot with matplotlib
24+
size ([int, int]): force a specific size of the screenshot. larger size leads to a larger FOV for the screenshot
25+
"""
2626
if size == None:
2727
ss = viewer.screenshot().screenshot.image_pixels
2828
else:

0 commit comments

Comments
 (0)