Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/matplotlib/matplotlib
/ _escape_comment
Function
_escape_comment
lib/matplotlib/backends/backend_svg.py:79–81 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
77
78
79
def
_escape_comment(s):
80
s = _escape_cdata(s)
81
return
_escape_xml_comment.sub(
'- '
, s)
82
83
84
def
_escape_attrib(s):
Callers
1
comment
Method · 0.85
Calls
1
_escape_cdata
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…