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

Method set_widths

lib/matplotlib/collections.py:2173–2176  ·  view source on GitHub ↗

Set the lengths of the first axes (e.g., major axis).

(self, widths)

Source from the content-addressed store, hash-verified

2171 self.set_transform(_affine(m))
2172
2173 def set_widths(self, widths):
2174 """Set the lengths of the first axes (e.g., major axis)."""
2175 self._widths = 0.5 * np.asarray(widths).ravel()
2176 self.stale = True
2177
2178 def set_heights(self, heights):
2179 """Set the lengths of second axes (e.g., minor axes)."""

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected