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

Method _get_help_html

lib/matplotlib/backend_tools.py:916–923  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

914 return "\n".join(entries)
915
916 def _get_help_html(self):
917 fmt = "<tr><td>{}</td><td>{}</td><td>{}</td></tr>"
918 rows = [fmt.format(
919 "<b>Action</b>", "<b>Shortcuts</b>", "<b>Description</b>")]
920 rows += [fmt.format(*row) for row in self._get_help_entries()]
921 return ("<style>td {padding: 0px 4px}</style>"
922 "<table><thead>" + rows[0] + "</thead>"
923 "<tbody>".join(rows[1:]) + "</tbody></table>")
924
925
926class ToolCopyToClipboardBase(ToolBase):

Callers 1

triggerMethod · 0.80

Calls 2

_get_help_entriesMethod · 0.95
joinMethod · 0.80

Tested by

no test coverage detected