Skip to content

Commit

Permalink
Fix typing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
eachanjohnson committed Oct 5, 2024
1 parent 985c781 commit 7360f6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions carabiner/mpl/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Utilities for matplotlib."""

from typing import Any, Iterable, Mapping, Tuple, Optional, Union
from typing import Any, Callable, Iterable, Mapping, Tuple, Optional, Union
from functools import wraps
import os

Expand Down Expand Up @@ -217,7 +217,7 @@ def figsaver(
prefix: Optional[str] = None,
dpi: int = 300,
format: str = 'png',
) -> Callable[[Figure, str, int, str, Optional[DataFrame]], None]:
) -> Callable[[figure.Figure, str, int, str, Optional[DataFrame]], None]:

"""Create a function to save figures in a predefined location.
Expand Down

0 comments on commit 7360f6d

Please sign in to comment.