Commit a6a9afd
committed
[Tutorials] Fix uhi test timeouts in matplotlib.
On some Mac VMs, matplotlib.show() was entering an interactive event
loop, which caused four uhi tutorials to time out.
By switching matplotlib to the PNG backend, show() is skipped as follows:
hist015_TH1_read_and_draw_uhi.py:88: UserWarning: FigureCanvasAgg is non-interactive, and thus cannot be shown
plt.show()1 parent f23c8aa commit a6a9afd
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
0 commit comments