8000 FIX: do not report that webagg supports blitting · matplotlib/matplotlib@0c2ae15 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0c2ae15

Browse files
committed
FIX: do not report that webagg supports blitting
We now implement the required underlying methods (copy_from_bbox and restore_region), but there are issues with the double buffering in nbagg, initialization issues, and with updates to the front end being dropped. For mpl3.4.0 over-ride the class property that checks for the required methods until we can fix the issues with blitting. Closes #19701
1 parent bfa31a4 commit 0c2ae15

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/matplotlib/backends/backend_webagg_core.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ def _timer_set_interval(self):
116116

117117
class FigureCanvasWebAggCore(backend_agg.FigureCanvasAgg):
118118
_timer_cls = TimerTornado
119+
# Webagg and friends having the right methods, but still
120+
# having bugs in practice. Do not advertise that it works until
121+
# we can debug this.
122+
supports_blit = False
119123

120124
def __init__(self, *args, **kwargs):
121125
super().__init__(*args, **kwargs)

0 commit comments

Comments
 (0)
0