Skip to content

Commit

Permalink
fix some more xylim types
Browse files Browse the repository at this point in the history
  • Loading branch information
headtr1ck committed Sep 11, 2023
1 parent 2ab1402 commit db0db64
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions xarray/plot/dataarray_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,8 @@ def line( # type: ignore[misc] # None is hashable :(
yscale: ScaleOptions = None,
xticks: ArrayLike | None = None,
yticks: ArrayLike | None = None,
xlim: ArrayLike | None = None,
ylim: ArrayLike | None = None,
xlim: tuple[float, float] | None = None,
ylim: tuple[float, float] | None = None,
add_legend: bool = True,
_labels: bool = True,
**kwargs: Any,
Expand All @@ -336,7 +336,7 @@ def line( # type: ignore[misc] # None is hashable :(

@overload
def line(
darray,
darray: DataArray,
*args: Any,
row: Hashable, # wrap -> FacetGrid
col: Hashable | None = None,
Expand All @@ -353,8 +353,8 @@ def line(
yscale: ScaleOptions = None,
xticks: ArrayLike | None = None,
yticks: ArrayLike | None = None,
xlim: ArrayLike | None = None,
ylim: ArrayLike | None = None,
xlim: tuple[float, float] | None = None,
ylim: tuple[float, float] | None = None,
add_legend: bool = True,
_labels: bool = True,
**kwargs: Any,
Expand All @@ -364,7 +364,7 @@ def line(

@overload
def line(
darray,
darray: DataArray,
*args: Any,
row: Hashable | None = None,
col: Hashable, # wrap -> FacetGrid
Expand All @@ -381,8 +381,8 @@ def line(
yscale: ScaleOptions = None,
xticks: ArrayLike | None = None,
yticks: ArrayLike | None = None,
xlim: ArrayLike | None = None,
ylim: ArrayLike | None = None,
xlim: tuple[float, float] | None = None,
ylim: tuple[float, float] | None = None,
add_legend: bool = True,
_labels: bool = True,
**kwargs: Any,
Expand Down

0 comments on commit db0db64

Please sign in to comment.