Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fed55c6 + 7fbbdd3 commit 38fd428Copy full SHA for 38fd428
1 file changed
lib/matplotlib/backends/backend_tkagg.py
@@ -10,8 +10,8 @@ def draw(self):
10
self.blit()
11
12
def blit(self, bbox=None):
13
- _backend_tk.blit(
14
- self._tkphoto, self.renderer._renderer, (0, 1, 2, 3), bbox=bbox)
+ _backend_tk.blit(self._tkphoto, self.renderer.buffer_rgba(),
+ (0, 1, 2, 3), bbox=bbox)
15
16
17
@_BackendTk.export
0 commit comments