Mercurial > hg > rlgallery-misc
comparison py/stats2.py @ 40:1ddd2d950e31
SVG charts: reduce frame stroke width.
If the frame stroke is too wide, bars of height 1 aren't visible.
author | John "Elwin" Edwards |
---|---|
date | Fri, 10 Jan 2014 12:00:37 -0500 |
parents | a97a20571526 |
children | 3ecbd4fa2a08 |
comparison
equal
deleted
inserted
replaced
39:a97a20571526 | 40:1ddd2d950e31 |
---|---|
14 stylesheet = """<style type="text/css"> | 14 stylesheet = """<style type="text/css"> |
15 rect.frame {{ | 15 rect.frame {{ |
16 fill:#ffffff; | 16 fill:#ffffff; |
17 fill-opacity:1; | 17 fill-opacity:1; |
18 stroke:#000000; | 18 stroke:#000000; |
19 stroke-width:4; | 19 stroke-width:2; |
20 stroke-opacity:1; | 20 stroke-opacity:1; |
21 }} | 21 }} |
22 rect.bar {{ | 22 rect.bar {{ |
23 fill:#{0}; | 23 fill:#{0}; |
24 fill-opacity:1; | 24 fill-opacity:1; |