You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 2.1.1.post1088+gf4bcca3
matplotlib
Fork me on GitHub

This Page

matplotlib.markers.MarkerStyle

class matplotlib.markers.MarkerStyle(marker=None, fillstyle=None)
Parameters:

marker : string or array_like, optional, default: None

See the descriptions of possible markers in the module docstring.

fillstyle : string, optional, default: ‘full’

‘full’, ‘left”, ‘right’, ‘bottom’, ‘top’, ‘none’

Attributes

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

Sets fillstyle

Parameters:fillstyle : string amongst known fillstyles
set_marker(marker)