Browse Source

Fix subtype

pull/28/head
Florian Mounier 12 years ago
parent
commit
42023584e6
  1. 6
      demo/cabaret.py
  2. 6
      pygal/config.py

6
demo/cabaret.py

@ -50,5 +50,11 @@ else:
wsreload.monkey_patch_http_server({'url': url}, callback=log)
app.logger.debug('HTTPServer monkey patched for url %s' % url)
try:
import wdb
except ImportError:
pass
else:
app.wsgi_app = wdb.Wdb(app.wsgi_app, start_disabled=True)
app.run(debug=True, threaded=True, host='0.0.0.0', port=12221)

6
pygal/config.py

@ -143,12 +143,12 @@ class Config(object):
x_labels_major = Key(
None, list, "Label",
"X labels that will be marked major.",
str)
subtype=str)
x_labels_major_every = Key(
None, int, "Label",
"Mark every n-th x label as major.")
x_labels_major_count = Key(
None, int, "Label",
"Mark n evenly distributed labels as major.")
@ -209,7 +209,7 @@ class Config(object):
"No data", str, "Text", "Text to display when no data is given")
label_font_size = Key(10, int, "Text", "Label font size")
major_label_font_size = Key(10, int, "Text", "Major label font size")
value_font_size = Key(8, int, "Text", "Value font size")

Loading…
Cancel
Save