MCPcopy Create free account
hub / github.com/ActiveState/code / write_graph

Method write_graph

recipes/Python/578138_gprof2dotpy/recipe-578138.py:2886–2894  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2884 self.write_graph()
2885
2886 def write_graph(self):
2887 dot = DotWriter(self.output)
2888 dot.strip = self.options.strip
2889 dot.wrap = self.options.wrap
2890
2891 profile = self.profile
2892 profile.prune(self.options.node_thres/100.0, self.options.edge_thres/100.0)
2893
2894 dot.graph(profile, self.theme)
2895
2896
2897if __name__ == '__main__':

Callers 1

mainMethod · 0.95

Calls 3

graphMethod · 0.95
DotWriterClass · 0.85
pruneMethod · 0.45

Tested by

no test coverage detected