|
6 | 6 | Simple linestyles can be defined using the strings "solid", "dotted", "dashed"
|
7 | 7 | or "dashdot". More refined control can be achieved by providing a dash tuple
|
8 | 8 | ``(offset, (on_off_seq))``. For example, ``(0, (3, 10, 1, 15))`` means
|
9 |
| -(3pt line, 10pt space, 1pt line, 15pt space) with no offset. See also |
10 |
| -`.Line2D.set_linestyle`. |
| 9 | +(3pt line, 10pt space, 1pt line, 15pt space) with no offset, while |
| 10 | +``(5, (10, 5))``, means (10pt line, 5pt space), but skip the first 5pt line. |
| 11 | +See also `.Line2D.set_linestyle`. |
11 | 12 |
|
12 | 13 | *Note*: The dash style can also be configured via `.Line2D.set_dashes`
|
13 | 14 | as shown in :doc:`/gallery/lines_bars_and_markers/line_demo_dash_control`
|
|
27 | 28 | ('loosely dotted', (0, (1, 10))),
|
28 | 29 | ('dotted', (0, (1, 1))),
|
29 | 30 | ('densely dotted', (0, (1, 1))),
|
30 |
| - |
| 31 | + ('long dash with offset', (5, (10, 5))), |
31 | 32 | ('loosely dashed', (0, (5, 10))),
|
32 | 33 | ('dashed', (0, (5, 5))),
|
33 | 34 | ('densely dashed', (0, (5, 1))),
|
|
0 commit comments