Commit 5323733
fix: make SettingWithCopyWarning import pandas>=2.2 compatible
pandas 2.2 removed `pandas.errors.SettingWithCopyWarning`, which broke
nest_plotters import on modern pandas. Guard the import so the warning
filter is only applied when the class exists.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 5547313 commit 5323733
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | | - | |
| 43 | + | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
48 | | - | |
| 52 | + | |
| 53 | + | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
| |||
0 commit comments