Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e71d28b

Browse files
authored
Merge pull request #10131 from anntzer/cairoblit
cairo backends do not support blitting; mark them as such.
2 parents 7f728fe + 38d0b35 commit e71d28b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/backends/backend_cairo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,8 @@ def set_linewidth(self, w):
450450

451451

452452
class FigureCanvasCairo(FigureCanvasBase):
453+
supports_blit = False
454+
453455
def print_png(self, fobj, *args, **kwargs):
454456
width, height = self.get_width_height()
455457

0 commit comments

Comments
 (0)