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

Method __flush

lib/matplotlib/backends/backend_svg.py:123–134  ·  view source on GitHub ↗
(self, indent=True)

Source from the content-addressed store, hash-verified

121 self.__indentation = " " * 64
122
123 def __flush(self, indent=True):
124 # flush internal buffers
125 if self.__open:
126 if indent:
127 self.__write(">\n")
128 else:
129 self.__write(">")
130 self.__open = 0
131 if self.__data:
132 data = ''.join(self.__data)
133 self.__write(_escape_cdata(data))
134 self.__data = []
135
136 def start(self, tag, attrib=None, **extra):
137 """

Callers 3

startMethod · 0.95
commentMethod · 0.95
endMethod · 0.95

Calls 2

_escape_cdataFunction · 0.85
joinMethod · 0.80

Tested by

no test coverage detected