Browse Source

Fix broken font_family default

pull/264/head
Florian Mounier 9 years ago
parent
commit
614bcc22f3
  1. 2
      docs/changelog.rst
  2. 4
      pygal/style.py

2
docs/changelog.rst

@ -6,7 +6,7 @@ Changelog
================= =================
* Fix view box differently to avoid getting a null height on huge numbers. (#254) * Fix view box differently to avoid getting a null height on huge numbers. (#254)
* Fix broken font_family default
2.0.1 2.0.1
===== =====

4
pygal/style.py

@ -37,8 +37,8 @@ class Style(object):
foreground_subtle = 'rgba(0, 0, 0, .54)' foreground_subtle = 'rgba(0, 0, 0, .54)'
# Monospaced font is highly encouraged # Monospaced font is highly encouraged
font_family = 'Consolas, "Liberation Mono", Menlo, Courier, ' font_family = (
'monospace' 'Consolas, "Liberation Mono", Menlo, Courier, monospace')
label_font_family = None label_font_family = None
major_label_font_family = None major_label_font_family = None

Loading…
Cancel
Save