drop some excess imports

This commit is contained in:
jan 2025-11-14 01:23:36 -08:00
parent 63fade279f
commit 483a831997
2 changed files with 5 additions and 6 deletions

View File

@ -1,10 +1,7 @@
from typing import Sequence, Callable, Any from typing import Sequence, Callable, Any, TYPE_CHECKING
from pathlib import Path
import threading import threading
import textwrap import textwrap
from PyQt6 import QtCore
import numpy import numpy
from numpy.typing import NDArray from numpy.typing import NDArray
import polars import polars
@ -14,6 +11,10 @@ from matplotlib.figure import Figure
from matplotlib.axes import Axes from matplotlib.axes import Axes
if TYPE_CHECKING:
import pandas
def twrap(text: str, **kwargs) -> str: def twrap(text: str, **kwargs) -> str:
kwargs.setdefault('width', 15) kwargs.setdefault('width', 15)
intxt = text.replace('_', '-') intxt = text.replace('_', '-')

View File

@ -1,7 +1,5 @@
from typing import Any, Callable from typing import Any, Callable
from PyQt6 import QtCore
from matplotlib.figure import Figure from matplotlib.figure import Figure
from matplotlib.axes import Axes from matplotlib.axes import Axes
from matplotlib import pyplot from matplotlib import pyplot