Debian Codegraph @

examples/lines_dashes.py

raw symbols SCIP
1 import leather
2
3 data = [
4 (0, 3),
5 (4, 5),
6 (7, 9),
7 (8, 4)
8 ]
9
10 chart = leather.Chart('Line Dashes')
11 chart.add_line(data, stroke_dasharray='2%')
12 chart.to_svg('examples/charts/lines_dashes.svg')