MCPcopy Index your code
hub / github.com/bqplot/bqplot / __init__

Method __init__

bqplot/marks.py:1623–1635  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

1621 font_style = Dict().tag(sync=True)
1622
1623 def __init__(self, **kwargs):
1624 # Adding scales in case they are not passed too.
1625 scales = kwargs.pop('scales', {})
1626
1627 if scales.get('row', None) is None:
1628 row_scale = OrdinalScale(reverse=True)
1629 scales['row'] = row_scale
1630
1631 if scales.get('column', None) is None:
1632 column_scale = OrdinalScale()
1633 scales['column'] = column_scale
1634 kwargs['scales'] = scales
1635 super(GridHeatMap, self).__init__(**kwargs)
1636
1637 @validate('row')
1638 def _validate_row(self, proposal):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected