Skip to content

Commit db36bb5

Browse files
committed
object -> Any
1 parent e76aaf5 commit db36bb5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/ess/dream/diagnostics.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import math
66
from collections.abc import Callable, Iterable, Mapping
77
from functools import reduce
8+
from typing import Any
89

910
import ipywidgets as ipw
1011
import numpy as np
@@ -28,7 +29,7 @@ def __init__(
2829
data: Mapping[str, sc.DataArray],
2930
*,
3031
rasterized: bool = True,
31-
**kwargs: object,
32+
**kwargs: Any,
3233
) -> None:
3334
"""Create a new viewer.
3435
@@ -60,12 +61,12 @@ def __init__(
6061
]
6162
)
6263

63-
def _select_bank(self, *_args: object, **_kwargs: object) -> None:
64+
def _select_bank(self, *_args: Any, **_kwargs: Any) -> None:
6465
self._bank = self._data[self._bank_selector.value]
6566
self._dim_selector.set_dims(self._bank.dims)
6667
self._update_view()
6768

68-
def _update_view(self, *_args: object, **_kwargs: object) -> None:
69+
def _update_view(self, *_args: Any, **_kwargs: Any) -> None:
6970
self._figure_box.children = [self._make_figure()]
7071

7172
def _make_figure(self) -> FigureLike:
@@ -155,7 +156,7 @@ def _flat_voxel_figure(
155156
data: sc.DataArray,
156157
horizontal_dim: str,
157158
vertical_dim: str,
158-
**kwargs: object,
159+
**kwargs: Any,
159160
) -> FigureLike:
160161
kept_dims = {horizontal_dim, vertical_dim}
161162

0 commit comments

Comments
 (0)