Skip to content

Commit f46d54b

Browse files
committed
openslide.deepzoom: Document limit_bounds parameter
1 parent f246936 commit f46d54b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

openslide/deepzoom.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,11 @@ class DeepZoomGenerator(object):
4141
def __init__(self, osr, tile_size=256, overlap=1, limit_bounds=False):
4242
"""Create a DeepZoomGenerator wrapping an OpenSlide object.
4343
44-
osr: a slide object.
45-
tile_size: the width and height of a single tile.
46-
overlap: the number of extra pixels to add to each interior edge
47-
of a tile."""
44+
osr: a slide object.
45+
tile_size: the width and height of a single tile.
46+
overlap: the number of extra pixels to add to each interior edge
47+
of a tile.
48+
limit_bounds: True to render only the non-empty slide region."""
4849

4950
# We have four coordinate planes:
5051
# - Row and column of the tile within the Deep Zoom level (t_)

0 commit comments

Comments
 (0)