Programmatically generate SVG (vector) images, animations, and interactive Jupyter widgets

Fix typo in quickref (#93)

authored by

joachimheintz and committed by
GitHub
f0ceaa17 443e5f25

+5 -5
+3 -3
docs/img/04_align.svg
··· 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 3 - width="250" height="120" viewBox="0 0 250 120"> 3 + width="250" height="120" viewBox="0 0 250 120"> 4 4 <defs> 5 5 </defs> 6 6 <path d="M75,100 L75,0" stroke="gray" /> ··· 10 10 <text x="75" y="30" font-size="24" text-anchor="start">Start</text> 11 11 <text x="75" y="60" font-size="24" text-anchor="middle">Middle</text> 12 12 <text x="75" y="90" font-size="24" text-anchor="end">End</text> 13 - <text x="150" y="30" font-size="24" dominant-baseline="bottom">Auto</text> 13 + <text x="150" y="30" font-size="24" dominant-baseline="auto">Auto</text> 14 14 <text x="150" y="60" font-size="24" dominant-baseline="middle">Middle</text> 15 - <text x="150" y="90" font-size="24" dominant-baseline="top">Hanging</text> 15 + <text x="150" y="90" font-size="24" dominant-baseline="hanging">Hanging</text> 16 16 </svg>
+2 -2
docs/index.md
··· 604 604 d.append(dw.Text('Start', 24, 75, 30, text_anchor='start')) 605 605 d.append(dw.Text('Middle', 24, 75, 60, text_anchor='middle')) 606 606 d.append(dw.Text('End', 24, 75, 90, text_anchor='end')) 607 - d.append(dw.Text('Auto', 24, 150, 30, dominant_baseline='bottom')) 607 + d.append(dw.Text('Auto', 24, 150, 30, dominant_baseline='auto')) 608 608 d.append(dw.Text('Middle', 24, 150, 60, dominant_baseline='middle')) 609 - d.append(dw.Text('Hanging', 24, 150, 90, dominant_baseline='top')) 609 + d.append(dw.Text('Hanging', 24, 150, 90, dominant_baseline='hanging')) 610 610 ``` 611 611 612 612 ![svg](img/04_align.svg)