These are chat archives for ipython/ipython

3rd
May 2015
Kyle Kelley
@rgbkrk
May 03 2015 02:04
I see where an abstraction is leaking through the widgets now
{ model_name: 'BinaryModel',
  model_module: 'nbextensions/bitjet/bitjet' }
{ method: 'update',
  state:
   { margin: '',
     visible: true,
     color: null,
     padding: '',
     border_width: '',
     _model_name: 'BinaryModel',
     border_style: '',
     width: 800,
     _css: [],
     _view_name: 'BinaryView',
     msg_throttle: 3,
     _model_module: 'nbextensions/bitjet/bitjet',
     background_color: null,
     font_style: '',
     version: 0,
     data: { b64data: '' },
     font_weight: '',
     font_family: '',
     _dom_classes: [],
     border_color: null,
     blockwidth: 4,
     font_size: '',
     datawidth: 2,
     _view_module: 'nbextensions/bitjet/bitjet',
     bits_per_block: 1,
     height: 200,
     border_radius: '',
     blockheight: 4 } }
{ method: 'display' }
{ method: 'update', state: { data: { b64data: 'AQIDBAUG' } } }
{ method: 'display' }
namely model_module above
Maybe not too bad, I should look at the spec