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

Method pathCollectionObject

lib/matplotlib/backends/backend_pdf.py:1775–1781  ·  view source on GitHub ↗
(self, gc, path, trans, padding, filled, stroked)

Source from the content-addressed store, hash-verified

1773 self.endStream()
1774
1775 def pathCollectionObject(self, gc, path, trans, padding, filled, stroked):
1776 name = Name('P%d' % len(self.paths))
1777 ob = self.reserveObject('path %d' % len(self.paths))
1778 self.paths.append(
1779 (name, path, trans, ob, gc.get_joinstyle(), gc.get_capstyle(),
1780 padding, filled, stroked))
1781 return name
1782
1783 def writePathCollectionTemplates(self):
1784 for (name, path, trans, ob, joinstyle, capstyle, padding, filled,

Callers 1

draw_path_collectionMethod · 0.80

Calls 4

reserveObjectMethod · 0.95
NameClass · 0.85
get_joinstyleMethod · 0.45
get_capstyleMethod · 0.45

Tested by

no test coverage detected