Skip to content

Commit

Permalink
One type of axis at time
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp authored Jan 25, 2024
1 parent 15a8e42 commit 08d8401
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/boost_histogram/tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import copy
from builtins import sum
from typing import Mapping, Sequence, TypeVar
from typing import Sequence, TypeVar

from uhi.typing.plottable import PlottableAxis

Expand Down Expand Up @@ -145,7 +145,7 @@ def __repr__(self) -> str:

def __call__(
self, axis: PlottableAxis
) -> int | Sequence[int] | Mapping[int | str, Sequence[int | str]]:
) -> int | Sequence[int]:
if isinstance(axis, Regular):
if self.factor is None:
raise ValueError("must provide a value")
Expand Down

0 comments on commit 08d8401

Please sign in to comment.