Parameters ---------- marker : str, array-like, Path, MarkerStyle - Another instance of `MarkerStyle` copies the details of that *marker*. - For other possible marker values, see the module docstring `matplotlib.markers`. fillst
(self, marker,
fillstyle=None, transform=None, capstyle=None, joinstyle=None)
| 218 | _half_fillstyles = ('left', 'right', 'bottom', 'top') |
| 219 | |
| 220 | def __init__(self, marker, |
| 221 | fillstyle=None, transform=None, capstyle=None, joinstyle=None): |
| 222 | """ |
| 223 | Parameters |
| 224 | ---------- |
| 225 | marker : str, array-like, Path, MarkerStyle |
| 226 | - Another instance of `MarkerStyle` copies the details of that *marker*. |
| 227 | - For other possible marker values, see the module docstring |
| 228 | `matplotlib.markers`. |
| 229 | |
| 230 | fillstyle : str, default: :rc:`markers.fillstyle` |
| 231 | One of 'full', 'left', 'right', 'bottom', 'top', 'none'. |
| 232 | |
| 233 | transform : `~matplotlib.transforms.Transform`, optional |
| 234 | Transform that will be combined with the native transform of the |
| 235 | marker. |
| 236 | |
| 237 | capstyle : `.CapStyle` or %(CapStyle)s, optional |
| 238 | Cap style that will override the default cap style of the marker. |
| 239 | |
| 240 | joinstyle : `.JoinStyle` or %(JoinStyle)s, optional |
| 241 | Join style that will override the default join style of the marker. |
| 242 | """ |
| 243 | self._marker_function = None |
| 244 | self._user_transform = transform |
| 245 | self._user_capstyle = CapStyle(capstyle) if capstyle is not None else None |
| 246 | self._user_joinstyle = JoinStyle(joinstyle) if joinstyle is not None else None |
| 247 | self._set_fillstyle(fillstyle) |
| 248 | self._set_marker(marker) |
| 249 | |
| 250 | def _recache(self): |
| 251 | if self._marker_function is None: |
nothing calls this directly
no test coverage detected