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*.
| 148 | |
| 149 | |
| 150 | class 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', |
searching dependent graphs…