diff --git a/demo/moulinrouge.py b/demo/moulinrouge.py index 5dd6315..6201405 100755 --- a/demo/moulinrouge.py +++ b/demo/moulinrouge.py @@ -37,19 +37,6 @@ try: except: pass - -try: - import wsreload -except ImportError: - app.logger.debug('wsreload not found') -else: - url = "http://moulinrouge.l:21112/*" - - def log(httpserver): - app.logger.debug('WSReloaded after server restart') - wsreload.monkey_patch_http_server({'url': url}, callback=log) - app.logger.debug('HTTPServer monkey patched for url %s' % url) - try: from wdb.ext import WdbMiddleware, add_w_builtin except ImportError: diff --git a/pygal/graph/public.py b/pygal/graph/public.py index d2d582f..e0472e3 100644 --- a/pygal/graph/public.py +++ b/pygal/graph/public.py @@ -155,7 +155,8 @@ class PublicApi(BaseGraph): margin=5, min_scale=1, max_scale=2, - explicit_size=True + explicit_size=True, + no_data_text='' ) spark_options.update(kwargs) return self.render(**spark_options)