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

View File

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