fix type
CI / lint (push) Skipped
CI / test (3.11) (push) Skipped
CI / test (3.12) (push) Skipped
CI / test (3.13) (push) Skipped
CI / lint (pull_request) Successful in 55s
CI / test (3.11) (pull_request) Successful in 25s
CI / test (3.12) (pull_request) Successful in 23s
CI / test (3.13) (pull_request) Successful in 23s

This commit is contained in:
2026-08-07 10:45:53 +02:00
parent 0fd70d927f
commit 765a15f673
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ def find_existing_formatter(
return logging.Formatter(default_fmt, datefmt=default_datefmt)
def attach_to_logger(logger_name: str = "", handler: logging.Handler | None = None):
def attach_to_logger(logger_name: str, handler: logging.Handler):
logging.getLogger(logger_name).addHandler(handler)
+2 -2
View File
@@ -40,7 +40,7 @@ def rebuild_array_from_scan_results(
ny_field: str = "ny",
default_value: float = 0.0,
threshold: float | None = None,
condition_func: Callable | None = None,
condition_func: Callable[[float], bool] | None = None,
apply_filter_before: bool = True,
) -> np.ndarray:
positions = []
@@ -403,7 +403,7 @@ def _draw_panel(
import matplotlib.patches as mpatches
import matplotlib.pyplot as plt
from aarecommon.coordinate import Coordinate
from aarecommon.math.coordinate import Coordinate
n_nx, n_ny = arr.shape
max_nx, max_ny = _max_cell(arr)