diff --git a/tiatoolbox/visualization/bokeh_app/main.py b/tiatoolbox/visualization/bokeh_app/main.py index 7c043afad..e26938a31 100644 --- a/tiatoolbox/visualization/bokeh_app/main.py +++ b/tiatoolbox/visualization/bokeh_app/main.py @@ -13,10 +13,6 @@ import numpy as np import requests import torch -from matplotlib import colormaps -from PIL import Image -from requests.adapters import HTTPAdapter, Retry - from bokeh.events import ButtonClick, DoubleTap, MenuItemClick from bokeh.io import curdoc from bokeh.layouts import column, row @@ -58,6 +54,9 @@ from bokeh.models.tiles import WMTSTileSource from bokeh.plotting import figure from bokeh.util import token +from matplotlib import colormaps +from PIL import Image +from requests.adapters import HTTPAdapter, Retry # github actions seems unable to find tiatoolbox unless this is here sys.path.insert(0, str(Path(__file__).parent.parent.parent.parent))