8282 plt.plot([1, 2, 3], marker=11)
8383 plt.plot([1, 2, 3], marker=matplotlib.markers.CARETDOWNBASE)
8484
85- Markers have some reasonable default settings for join and cap styles.
86- However, those can be overriden when creating a new instance of MarkerStyle.
87- Furthermore, the marker shape can be modified by supplying
88- `~matplotlib.transforms.Transform` during creation.
89- Some markers are created as internally rotated shapes (e.g. triangles).
90- For such cases, both internal and user supplied transforms are combined.
91-
85+ Markers join and cap styles can be customized by creating a new instance of MarkerStyle.
86+ A MarkerStyle can also have a custom
87+ `~matplotlib.transforms.Transform` allowing it to be arbitrarily rotated or offset.
9288Examples showing the use of markers:
9389
9490* :doc:`/gallery/lines_bars_and_markers/marker_reference`
@@ -253,16 +249,13 @@ def __init__(self, marker=_unset, fillstyle=None,
253249 One of 'full', 'left', 'right', 'bottom', 'top', 'none'.
254250
255251 transform : Affine2D, default: None
256- User supplied transformation that will be combined with the
257- native transformation of selected marker.
252+ Transform that will be combined with the native transform of the marker.
258253
259254 capstyle : CapStyle, default: None
260- User supplied cap style that will override the default cap
261- style of selected marker.
255+ Cap style that will override the default cap style of the marker.
262256
263257 joinstyle : JoinStyle, default: None
264- User supplied join style that will override the default cap
265- style of selected marker.
258+ Join style that will override the default join style of the marker.
266259 """
267260 self ._marker_function = None
268261 self ._user_transform = transform
@@ -431,7 +424,7 @@ def get_user_transform(self):
431424
432425 def transformed (self , transform : Affine2D ):
433426 """
434- Return new marker with combined transformation.
427+ Return a new version of this marker with the transform applied.
435428
436429 Parameters
437430 ----------
@@ -447,15 +440,15 @@ def transformed(self, transform: Affine2D):
447440
448441 def rotated (self , deg = None , rad = None ):
449442 """
450- Return new marker rotated by specified angle.
443+ Return a new version of this marker rotated by specified angle.
451444
452445 Parameters
453446 ----------
454447 deg : float, default: None
455- Use this parameter to specify rotation angle in degrees.
448+ Rotation angle in degrees.
456449
457450 rad : float, default: None
458- Use this parameter to specify rotation angle in radians.
451+ Rotation angle in radians.
459452
460453 .. note:: You must specify exactly one of deg or rad.
461454 """
0 commit comments