|
1 | 1 | r""" |
2 | 2 | Functions to handle markers; used by the marker functionality of |
3 | | -`~matplotlib.axes.Axes.plot` and `~matplotlib.axes.Axes.scatter`. |
| 3 | +`~matplotlib.axes.Axes.plot`, `~matplotlib.axes.Axes.scatter`, and `~matplotlib.axes.Axes.errorbar`. |
4 | 4 |
|
5 | 5 | All possible markers are defined here: |
6 | 6 |
|
@@ -216,9 +216,13 @@ def __init__(self, marker=None, fillstyle=None): |
216 | 216 | """ |
217 | 217 | Parameters |
218 | 218 | ---------- |
219 | | - marker : str or array-like or None, default: None |
220 | | - *None* means no marker. For other possible marker values see the |
221 | | - module docstring `matplotlib.markers`. |
| 219 | + marker : str, array-like, Path, MarkerStyle, or None, default: None |
| 220 | + |
| 221 | + Another instance of *MarkerStyle* copies the details of that ``marker``. |
| 222 | + |
| 223 | + *None* means no marker. |
| 224 | +
|
| 225 | + For other possible marker values see the module docstring `matplotlib.markers`. |
222 | 226 |
|
223 | 227 | fillstyle : str, default: 'full' |
224 | 228 | One of 'full', 'left', 'right', 'bottom', 'top', 'none'. |
@@ -283,9 +287,13 @@ def set_marker(self, marker): |
283 | 287 |
|
284 | 288 | Parameters |
285 | 289 | ---------- |
286 | | - marker : str or array-like or None, default: None |
287 | | - *None* means no marker. For other possible marker values see the |
288 | | - module docstring `matplotlib.markers`. |
| 290 | + marker : str, array-like, Path, MarkerStyle, or None, default: None |
| 291 | + |
| 292 | + Another instance of *MarkerStyle* copies the details of that ``marker``. |
| 293 | + |
| 294 | + *None* means no marker. |
| 295 | +
|
| 296 | + For other possible marker values see the module docstring `matplotlib.markers`. |
289 | 297 | """ |
290 | 298 | if (isinstance(marker, np.ndarray) and marker.ndim == 2 and |
291 | 299 | marker.shape[1] == 2): |
|
0 commit comments