Commit 7fbbdd3
committed
Don't access private renderer attributes in tkagg blit.
`buffer_rgba()` basically does the same from the point of view of
`_backend_tk.blit` (which will extract the buffer object from
`renderer._renderer` otherwise).
Restricting oneself to public renderer API makes it easier to use
mplcairo to patch out the agg renderer.1 parent 8244201 commit 7fbbdd3
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments