Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Commit6cf8450
committed
Reuse the noninteractivity warning from Figure.show in _Backend.show.
Currently, the warning message "Matplotlib is currently using ..., whichis a non-GUI backend, so cannot show the figure" and the (minor)associated logic (of catching NonGuiException) is duplicated betweenFigure.show and _Backend.show. Make the latter use the former, todeduplicate it.1 parentb5b9a63 commit6cf8450
File tree
3 files changed
+9
-18
lines changed- lib/matplotlib
- tests
3 files changed
+9
-18
lines changedLines changed: 2 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
185 | 185 |
| |
186 | 186 |
| |
187 | 187 |
| |
188 |
| - | |
189 |
| - | |
190 |
| - | |
191 |
| - | |
192 |
| - | |
193 |
| - | |
194 |
| - | |
195 |
| - | |
| 188 | + | |
| 189 | + | |
196 | 190 |
| |
197 | 191 |
| |
198 | 192 |
| |
|
Lines changed: 3 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
439 | 439 |
| |
440 | 440 |
| |
441 | 441 |
| |
442 |
| - | |
443 |
| - | |
444 |
| - | |
445 |
| - | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
446 | 445 |
| |
447 | 446 |
| |
448 | 447 |
| |
|
Lines changed: 4 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 |
| - | |
73 |
| - | |
74 |
| - | |
| 72 | + | |
| 73 | + | |
75 | 74 |
| |
76 | 75 |
| |
77 | 76 |
| |
78 | 77 |
| |
79 |
| - | |
80 |
| - | |
81 |
| - | |
| 78 | + | |
| 79 | + |
0 commit comments
Comments
(0)