File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1484,7 +1484,7 @@ def split_generator(keep_na=False) -> Generator:
1484
1484
1485
1485
axes_df = self ._filter_subplot_data (df , view )
1486
1486
1487
- with pd .option_context ("mode.use_inf_as_null " , True ):
1487
+ with pd .option_context ("mode.use_inf_as_na " , True ):
1488
1488
if keep_na :
1489
1489
# The simpler thing to do would be x.dropna().reindex(x.index).
1490
1490
# But that doesn't work with the way that the subset iteration
Original file line number Diff line number Diff line change @@ -1116,7 +1116,7 @@ def comp_data(self):
1116
1116
parts = []
1117
1117
grouped = self .plot_data [var ].groupby (self .converters [var ], sort = False )
1118
1118
for converter , orig in grouped :
1119
- with pd .option_context ('mode.use_inf_as_null ' , True ):
1119
+ with pd .option_context ('mode.use_inf_as_na ' , True ):
1120
1120
orig = orig .dropna ()
1121
1121
if var in self .var_levels :
1122
1122
# TODO this should happen in some centralized location
Original file line number Diff line number Diff line change @@ -1791,7 +1791,7 @@ def _lv_box_ends(self, vals):
1791
1791
vals = np .asarray (vals )
1792
1792
# Remove infinite values while handling a 'object' dtype
1793
1793
# that can come from pd.Float64Dtype() input
1794
- with pd .option_context ('mode.use_inf_as_null ' , True ):
1794
+ with pd .option_context ('mode.use_inf_as_na ' , True ):
1795
1795
vals = vals [~ pd .isnull (vals )]
1796
1796
n = len (vals )
1797
1797
p = self .outlier_prop
You can’t perform that action at this time.
0 commit comments