Skip to content

Commit

Permalink
update img size
Browse files Browse the repository at this point in the history
  • Loading branch information
measty committed Mar 15, 2024
1 parent e45fb3c commit cd9e3bd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tiatoolbox/visualization/bokeh_app/templates/image_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@ def create_extra_layout(
(img_array.shape[0], img_array.shape[1]),
)

p = figure(x_range=(0, 100), y_range=(0, 100), title=image_path.stem)
p = figure(
x_range=(0, 100),
y_range=(0, 100),
width=360,
height=360,
title=image_path.stem,
)
p.axis.visible = False
p.image_rgba(image=[img_rgba], x=0, y=0, dw=100, dh=100)
figures.append(p)
Expand Down

0 comments on commit cd9e3bd

Please sign in to comment.