matplotlib.markers.MarkerStyle

class matplotlib.markers.MarkerStyle(marker=None, fillstyle=None) [source]

Bases: object

Parameters:
markerstr or array-like, optional, default: None

See the descriptions of possible markers in the module docstring.

fillstylestr, optional, default: 'full'

'full', 'left", 'right', 'bottom', 'top', 'none'

Attributes:
markerslist of known marks
fillstyleslist of known fillstyles
filled_markerslist of known filled markers.
filled_markers = ('o', 'v', '^', '<', '>', '8', 's', 'p', '*', 'h', 'H', 'D', 'd', 'P', 'X')
fillstyles = ('full', 'left', 'right', 'bottom', 'top', 'none')
get_alt_path(self) [source]
get_alt_transform(self) [source]
get_capstyle(self) [source]
get_fillstyle(self) [source]
get_joinstyle(self) [source]
get_marker(self) [source]
get_path(self) [source]
get_snap_threshold(self) [source]
get_transform(self) [source]
is_filled(self) [source]
markers = {'.': 'point', ',': 'pixel', 'o': 'circle', 'v': 'triangle_down', '^': 'triangle_up', '<': 'triangle_left', '>': 'triangle_right', '1': 'tri_down', '2': 'tri_up', '3': 'tri_left', '4': 'tri_right', '8': 'octagon', 's': 'square', 'p': 'pentagon', '*': 'star', 'h': 'hexagon1', 'H': 'hexagon2', '+': 'plus', 'x': 'x', 'D': 'diamond', 'd': 'thin_diamond', '|': 'vline', '_': 'hline', 'P': 'plus_filled', 'X': 'x_filled', 0: 'tickleft', 1: 'tickright', 2: 'tickup', 3: 'tickdown', 4: 'caretleft', 5: 'caretright', 6: 'caretup', 7: 'caretdown', 8: 'caretleftbase', 9: 'caretrightbase', 10: 'caretupbase', 11: 'caretdownbase', 'None': 'nothing', None: 'nothing', ' ': 'nothing', '': 'nothing'}
set_fillstyle(self, fillstyle) [source]

Sets fillstyle

Parameters:
fillstylestring amongst known fillstyles
set_marker(self, marker) [source]

© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.2.2/api/_as_gen/matplotlib.markers.MarkerStyle.html