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 862f85d + 9369769 commit d892257Copy full SHA for d892257
lib/matplotlib/backends/backend_webagg_core.py
@@ -155,6 +155,7 @@ def _timer_set_interval(self):
155
156
157
class FigureCanvasWebAggCore(backend_agg.FigureCanvasAgg):
158
+ manager_class = _api.classproperty(lambda cls: FigureManagerWebAgg)
159
_timer_cls = TimerAsyncio
160
# Webagg and friends having the right methods, but still
161
# having bugs in practice. Do not advertise that it works until
@@ -426,7 +427,7 @@ def set_history_buttons(self):
426
427
428
429
class FigureManagerWebAgg(backend_bases.FigureManagerBase):
- ToolbarCls = NavigationToolbar2WebAgg
430
+ _toolbar2_class = ToolbarCls = NavigationToolbar2WebAgg
431
432
def __init__(self, canvas, num):
433
self.web_sockets = set()
0 commit comments