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