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

Method _repr_html_

lib/matplotlib/colors.py:1674–1676  ·  view source on GitHub ↗

Generate an HTML representation of the MultivarColormap.

(self)

Source from the content-addressed store, hash-verified

1672 return png_bytes.getvalue()
1673
1674 def _repr_html_(self):
1675 """Generate an HTML representation of the MultivarColormap."""
1676 return ''.join([c._repr_html_() for c in self._colormaps])
1677
1678
1679class BivarColormap:

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
_repr_html_Method · 0.45

Tested by

no test coverage detected