MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / MarkerStyle

Class MarkerStyle

lib/matplotlib/markers.py:150–907  ·  view source on GitHub ↗

A class representing marker types. Instances are immutable. If you need to change anything, create a new instance. Attributes ---------- markers : dict All known markers. filled_markers : tuple All known filled markers. This is a subset of *markers*.

Source from the content-addressed store, hash-verified

148
149
150class MarkerStyle:
151 """
152 A class representing marker types.
153
154 Instances are immutable. If you need to change anything, create a new
155 instance.
156
157 Attributes
158 ----------
159 markers : dict
160 All known markers.
161 filled_markers : tuple
162 All known filled markers. This is a subset of *markers*.
163 fillstyles : tuple
164 The supported fillstyles.
165 """
166
167 markers = {
168 '.': 'point',
169 ',': 'pixel',
170 'o': 'circle',
171 'v': 'triangle_down',
172 '^': 'triangle_up',
173 '<': 'triangle_left',
174 '>': 'triangle_right',
175 '1': 'tri_down',
176 '2': 'tri_up',
177 '3': 'tri_left',
178 '4': 'tri_right',
179 '8': 'octagon',
180 's': 'square',
181 'p': 'pentagon',
182 '*': 'star',
183 'h': 'hexagon1',
184 'H': 'hexagon2',
185 '+': 'plus',
186 'x': 'x',
187 'D': 'diamond',
188 'd': 'thin_diamond',
189 '|': 'vline',
190 '_': 'hline',
191 'P': 'plus_filled',
192 'X': 'x_filled',
193 TICKLEFT: 'tickleft',
194 TICKRIGHT: 'tickright',
195 TICKUP: 'tickup',
196 TICKDOWN: 'tickdown',
197 CARETLEFT: 'caretleft',
198 CARETRIGHT: 'caretright',
199 CARETUP: 'caretup',
200 CARETDOWN: 'caretdown',
201 CARETLEFTBASE: 'caretleftbase',
202 CARETRIGHTBASE: 'caretrightbase',
203 CARETUPBASE: 'caretupbase',
204 CARETDOWNBASE: 'caretdownbase',
205 "None": 'nothing',
206 "none": 'nothing',
207 ' ': 'nothing',

Callers 12

ellipse_arrow.pyFile · 0.90
__init__Method · 0.85
set_fillstyleMethod · 0.85
set_markerMethod · 0.85
update_fromMethod · 0.85
transformedMethod · 0.85
rotatedMethod · 0.85
scaledMethod · 0.85

Calls 2

PathClass · 0.85
_create_closedMethod · 0.80

Tested by 2

Used in the wild real call sites across dependent graphs

searching dependent graphs…