MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / _repr_html_

Method _repr_html_

lib/matplotlib/figure.py:2762–2767  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2760 # use it, for some reason.
2761
2762 def _repr_html_(self):
2763 # We can't use "isinstance" here, because then we'd end up importing
2764 # webagg unconditionally.
2765 if 'WebAgg' in type(self.canvas).__name__:
2766 from matplotlib.backends import backend_webagg
2767 return backend_webagg.ipython_inline_display(self)
2768
2769 def show(self, warn=True):
2770 """

Callers 4

test_animation_repr_htmlFunction · 0.45
test_bivariate_repr_htmlFunction · 0.45
test_repr_htmlFunction · 0.45

Calls

no outgoing calls

Tested by 4

test_animation_repr_htmlFunction · 0.36
test_bivariate_repr_htmlFunction · 0.36
test_repr_htmlFunction · 0.36