Commit dff8473
Fix mypy issue in visualization.py (#1416)
Summary:
Pull Request resolved: #1416
visualize_image_attr_multiple can return a List[Axes], adds proper annotations to satisfy mypy
Why casting is necessary: numpy/numpy#24738
https://github.com/matplotlib/matplotlib/blob/v3.9.2/lib/matplotlib/pyplot.py#L1583C41-L1584C1
Reviewed By: cyrjano
Differential Revision: D64998799
fbshipit-source-id: 7b2249654f5eb784f6c0686160f78f1be61bf7a21 parent ad89e0b commit dff8473
1 file changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
447 | | - | |
| 447 | + | |
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
| |||
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
519 | | - | |
| 519 | + | |
520 | 520 | | |
| 521 | + | |
521 | 522 | | |
522 | 523 | | |
523 | 524 | | |
524 | | - | |
| 525 | + | |
| 526 | + | |
525 | 527 | | |
526 | 528 | | |
527 | | - | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
528 | 532 | | |
529 | 533 | | |
530 | 534 | | |
| |||
0 commit comments