Commit 35ec03c
authored
Tweak check for IPython pylab mode. (matplotlib#23097)
We really only care about whether the attribute is present (even
nowadays, _needmain is always False; it appears to never have changed in
IPython's history).1 parent feb1ca1 commit 35ec03c
1 file changed
+4
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3498 | 3498 | | |
3499 | 3499 | | |
3500 | 3500 | | |
3501 | | - | |
| 3501 | + | |
| 3502 | + | |
| 3503 | + | |
3502 | 3504 | | |
3503 | | - | |
3504 | | - | |
3505 | | - | |
3506 | | - | |
3507 | | - | |
3508 | | - | |
| 3505 | + | |
3509 | 3506 | | |
3510 | 3507 | | |
3511 | 3508 | | |
| |||
0 commit comments