Commit 3c83237
committed
Set the GTK background color to white.
This is consistent with the other backends (although this seems to be
broken on wx too), which allows semi-transparent figures to be rendered
against a consistent background (this can be checked e.g. with
`figure(facecolor=(0, 0, 0, 0))` or `figure(facecolor=(1, 1, 1, .5))`),
which would previously be rendered differently on gtk3 when using a dark
theme.1 parent e24244c commit 3c83237
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
130 | 136 | | |
131 | 137 | | |
132 | 138 | | |
| |||
0 commit comments