diff --git a/gui/wxpython/mapdisp/frame.py b/gui/wxpython/mapdisp/frame.py index 119a14a8159..1f5b021f4f7 100644 --- a/gui/wxpython/mapdisp/frame.py +++ b/gui/wxpython/mapdisp/frame.py @@ -29,18 +29,30 @@ from typing import TYPE_CHECKING from core import globalvar + +# isort: split import wx import wx.aui - -from mapdisp.toolbars import MapToolbar, NvizIcons -from mapdisp.gprint import PrintOptions -from core.gcmd import GError, GMessage, RunCommand -from core.utils import ListOfCatsToRange, GetLayerNameFromCmd -from gui_core.dialogs import GetImageHandlers, ImageSizeDialog from core.debug import Debug +from core.gcmd import GError, GMessage, RunCommand +from core.giface import Notification from core.settings import UserSettings -from gui_core.mapdisp import SingleMapPanel, FrameMixin -from gui_core.query import QueryDialog, PrepareQueryResults +from core.utils import GetLayerNameFromCmd, ListOfCatsToRange +from gui_core.dialogs import GetImageHandlers, ImageSizeDialog +from gui_core.forms import GUI +from gui_core.mapdisp import FrameMixin, SingleMapPanel +from gui_core.query import PrepareQueryResults, QueryDialog +from gui_core.vselect import VectorSelectBase, VectorSelectHighlighter +from gui_core.wrap import Menu +from main_window.page import MainPageBase +from mapdisp import statusbar as sb +from mapdisp.gprint import PrintOptions +from mapdisp.toolbars import MapToolbar, NvizIcons +from mapwin.analysis import ( + MeasureAreaController, + MeasureDistanceController, + ProfileController, +) from mapwin.buffered import BufferedMapWindow from mapwin.decorations import ( ArrowController, @@ -49,17 +61,6 @@ LegendController, LegendVectController, ) -from mapwin.analysis import ( - MeasureAreaController, - MeasureDistanceController, - ProfileController, -) -from gui_core.forms import GUI -from core.giface import Notification -from gui_core.vselect import VectorSelectBase, VectorSelectHighlighter -from gui_core.wrap import Menu -from mapdisp import statusbar as sb -from main_window.page import MainPageBase import grass.script as gs from grass.pydispatch.signal import Signal