drop some excess imports
This commit is contained in:
parent
63fade279f
commit
483a831997
@ -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('_', '-')
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user