@@ -24,9 +24,6 @@ def plot_pair(
2424 textsize = None ,
2525 kind : Union [str , List [str ]] = "scatter" ,
2626 gridsize = "auto" ,
27- contour : Optional [bool ] = None ,
28- plot_kwargs = None ,
29- fill_last = False ,
3027 divergences = False ,
3128 colorbar = False ,
3229 labeller = None ,
@@ -82,11 +79,6 @@ def plot_pair(
8279 such that the hexagons are approximately regular. Alternatively, gridsize
8380 can be a tuple with two elements specifying the number of hexagons
8481 in the x-direction and the y-direction.
85- contour : bool, optional, deprecated, Defaults to True.
86- If True plot the 2D KDE using contours, otherwise plot a smooth 2D KDE. Defaults to True.
87- **Note:** this default is implemented in the body of the code, not in argument processing.
88- fill_last : bool
89- If True fill the last contour of the 2D KDE plot. Defaults to True.
9082 divergences: Boolean
9183 If True divergences will be plotted in a different color, only if group is either 'prior'
9284 or 'posterior'.
@@ -188,17 +180,6 @@ def plot_pair(
188180 kind_boolean = [kind [i ] in valid_kinds for i in range (len (kind ))]
189181 if not np .all (kind_boolean ):
190182 raise ValueError (f"Plot type { kind } not recognized. Plot type must be in { valid_kinds } " )
191- if fill_last or contour :
192- warnings .warn (
193- "fill_last and contour will be deprecated. Please use kde_kwargs" ,
194- UserWarning ,
195- )
196- if plot_kwargs :
197- warnings .warn (
198- "plot_kwargs will be deprecated."
199- " Please use scatter_kwargs, kde_kwargs and/or hexbin_kwargs" ,
200- UserWarning ,
201- )
202183
203184 if coords is None :
204185 coords = {}
0 commit comments