From f042dc514a573b6586b6340ff7426c8177eb5748 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Fri, 30 May 2025 18:22:16 +0200 Subject: [PATCH] [geopandas] Add a # type: ignore Should help with #14194 --- stubs/geopandas/geopandas/geoseries.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/geopandas/geopandas/geoseries.pyi b/stubs/geopandas/geopandas/geoseries.pyi index debf95e95be6..bb45f01cd6be 100644 --- a/stubs/geopandas/geopandas/geoseries.pyi +++ b/stubs/geopandas/geopandas/geoseries.pyi @@ -160,7 +160,7 @@ class GeoSeries(GeoPandasBase, pd.Series[BaseGeometry]): # type: ignore[type-va # def fillna(self, value=None, method: FillnaOptions | None = None, inplace: bool = False, **kwargs): ... def __contains__(self, other: object) -> bool: ... @doc(plot_series) - def plot(self, *args, **kwargs): ... # signature of `plot_series` copied in `@doc` + def plot(self, *args, **kwargs): ... # type: ignore[override] # signature of `plot_series` copied in `@doc` @doc(_explore_geoseries) # pyright: ignore[reportUnknownArgumentType] def explore(self, *args, **kwargs): ... # signature of `_explore_geoseries` copied in `@doc` def explode(self, ignore_index: bool = False, index_parts: bool = False) -> GeoSeries: ...