Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktBurger committed Jun 19, 2024
1 parent 1e2ae7a commit 469d40e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyleco_extras/gui/data_logger/data/plot_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import logging
import math
from typing import Any, Iterable, Protocol, Optional
from typing import Any, Iterable, Protocol, Optional, Union

import numpy as np
import pint
Expand All @@ -29,7 +29,7 @@ def get_xy_data(
x_key: Optional[str] = None,
start: Optional[int] = None,
stop: Optional[int] = None,
) -> tuple[list[float]] | tuple[list[float], list[float]]: ...
) -> Union[tuple[list[float]], tuple[list[float], list[float]]]: ...

def get_data_keys(self) -> Iterable[str]: ...

Expand Down

0 comments on commit 469d40e

Please sign in to comment.