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

Method _set_x_filled

lib/matplotlib/markers.py:895–907  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

893 (-1, +2), (-2, +1), (-1, 0)]) / 4)
894
895 def _set_x_filled(self):
896 self._transform = Affine2D()
897 self._snap_threshold = 5.0
898 self._joinstyle = self._user_joinstyle or JoinStyle.miter
899 if not self._half_fill():
900 self._path = self._x_filled_path
901 else:
902 # Rotate top half path to support all partitions
903 self._path = self._alt_path = self._x_filled_path_t
904 fs = self.get_fillstyle()
905 self._transform.rotate_deg(
906 {'top': 0, 'left': 90, 'bottom': 180, 'right': 270}[fs])
907 self._alt_transform = self._transform.frozen().rotate_deg(180)

Callers

nothing calls this directly

Calls 5

_half_fillMethod · 0.95
get_fillstyleMethod · 0.95
Affine2DClass · 0.85
rotate_degMethod · 0.80
frozenMethod · 0.45

Tested by

no test coverage detected