From 0bdfdc03cab2ca7550f87941c59dd2ccc5b2f274 Mon Sep 17 00:00:00 2001 From: Jason Grout Date: Thu, 8 Jan 2015 18:43:38 +0000 Subject: [PATCH] python3 does not like adding lists and map results Thanks to @takluyver for pointing this out --- IPython/html/widgets/widget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPython/html/widgets/widget.py b/IPython/html/widgets/widget.py index 340d47d65..fcb76c0a4 100644 --- a/IPython/html/widgets/widget.py +++ b/IPython/html/widgets/widget.py @@ -472,7 +472,7 @@ class DOMWidget(Widget): 'bolder', 'lighter', 'initial', - 'inherit', ''] + map(str, range(100,1000,100)), + 'inherit', ''] + list(map(str, range(100,1000,100))), default_value='', sync=True) font_size = CUnicode(sync=True) font_family = Unicode(sync=True)