Browse Source

Merge branch 'master' of github.com:Kozea/pygal

pull/58/head
Florian Mounier 12 years ago
parent
commit
71af33d835
  1. 4
      pygal_gen.py
  2. 1
      tox.ini

4
pygal_gen.py

@ -49,9 +49,7 @@ for key, val in pygal.config.Config.__dict__.items():
if val:
opt_name = 'no-' + opt_name
if key == 'interpolate':
opts['choices'] = [
'linear', 'nearest', 'zero', 'slinear', 'quadratic',
'cubic', 'krogh', 'barycentric', 'univariate']
opts['choices'] = ['quadratic', 'cubic']
parser.add_argument(
'--%s' % opt_name, dest=key, default=val, **opts)

1
tox.ini

@ -2,6 +2,7 @@
envlist = py26,py27,py32,py33
[testenv]
sitepackages=True
deps =
pytest
pytest-cov

Loading…
Cancel
Save