Skip to content

Commit

Permalink
Refactor imports in wxCCXXPlot.py for clarity and consistency
Browse files Browse the repository at this point in the history
  - Group imports by module
  - Remove redundant imports
  - Use explicit import statements
  - Maintain alphabetical order
  • Loading branch information
oldgithubman committed Oct 14, 2024
1 parent ae56645 commit 873a0f4
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions DisplayCAL/wxCCXXPlot.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,25 @@
import os
import sys

from DisplayCAL import (
CGATS,
ICCProfile as ICCP,
colormath,
config,
localization as lang,
wxenhancedplot as plot,
)
from DisplayCAL.argyll_instruments import get_canonical_instrument_name, instruments
from DisplayCAL.config import getcfg
from DisplayCAL.debughelpers import UnloggedError
from DisplayCAL.meta import name as appname
from DisplayCAL.meta import (
name as appname,
)
from DisplayCAL.util_str import make_filename_safe
from DisplayCAL.worker_base import get_argyll_util
from DisplayCAL.wxaddons import wx
from DisplayCAL.wxLUTViewer import LUTCanvas
from DisplayCAL.wxaddons import wx
from DisplayCAL.wxwindows import FlatShadedButton, show_result_dialog
from DisplayCAL import CGATS
from DisplayCAL import colormath
from DisplayCAL import config
from DisplayCAL import ICCProfile as ICCP
from DisplayCAL import localization as lang
from DisplayCAL import wxenhancedplot as plot


BGCOLOUR = "#101010"
FGCOLOUR = "#999999"
Expand Down

0 comments on commit 873a0f4

Please sign in to comment.