mwaskom / seaborn

Statistical data visualization in Python
https://seaborn.pydata.org
BSD 3-Clause "New" or "Revised" License
12.62k stars 1.94k forks source link

Replacement of obsolete np.in1d with np.isin. #3715

Open quant12345 opened 5 months ago

quant12345 commented 5 months ago

This PR removes the warning:

tests/test_categorical.py: 35 warnings
  /home/runner/work/seaborn/seaborn/tests/test_categorical.py:1209: DeprecationWarning: `in1d` is deprecated. Use `np.isin` instead.
    assert np.in1d(

Replacement of obsolete np.in1d with np.isin.