Commit ff31356
committed
Don't hide exceptions in FontManager.addfont.
We only need to hide them when constructing the default fontManager
instance (because we don't want a single bad font in the system to
prevent Matplotlib from importing, but if the end user manually calls
addfont, errors should not pass silently).
Release critical as addfont is a new API in 3.2.1 parent 508f21f commit ff31356
1 file changed
+12
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
986 | 986 | | |
987 | 987 | | |
988 | 988 | | |
989 | | - | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
990 | 996 | | |
991 | 997 | | |
992 | 998 | | |
| |||
998 | 1004 | | |
999 | 1005 | | |
1000 | 1006 | | |
1001 | | - | |
1002 | | - | |
1003 | | - | |
1004 | | - | |
1005 | | - | |
1006 | | - | |
1007 | | - | |
1008 | | - | |
1009 | | - | |
1010 | | - | |
1011 | | - | |
1012 | | - | |
1013 | | - | |
1014 | | - | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
1015 | 1010 | | |
1016 | 1011 | | |
1017 | | - | |
1018 | | - | |
1019 | | - | |
1020 | | - | |
1021 | | - | |
1022 | | - | |
1023 | | - | |
1024 | | - | |
1025 | | - | |
1026 | | - | |
1027 | | - | |
1028 | | - | |
1029 | | - | |
1030 | | - | |
| 1012 | + | |
| 1013 | + | |
1031 | 1014 | | |
1032 | 1015 | | |
1033 | 1016 | | |
| |||
0 commit comments