Return an axes dictionary for myself.
(
self, axes: Sequence[Axis] | None = None, **kwargs: AxisInt
)
| 507 | |
| 508 | @final |
| 509 | def _construct_axes_dict( |
| 510 | self, axes: Sequence[Axis] | None = None, **kwargs: AxisInt |
| 511 | ) -> dict: |
| 512 | """Return an axes dictionary for myself.""" |
| 513 | d = {a: self._get_axis(a) for a in (axes or self._AXIS_ORDERS)} |
| 514 | # error: Argument 1 to "update" of "MutableMapping" has incompatible type |
| 515 | # "Dict[str, Any]"; expected "SupportsKeysAndGetItem[Union[int, str], Any]" |
| 516 | d.update(kwargs) # type: ignore[arg-type] |
| 517 | return d |
| 518 | |
| 519 | @final |
| 520 | @classmethod |
no test coverage detected