ricklupton / ipysankeywidget

IPython / Jupyter Sankey diagram widget
MIT License
175 stars 24 forks source link

Cannot change height in Internet Explorer #18

Closed ricklupton closed 1 year ago

ricklupton commented 6 years ago

Reported by Mike E: changes in height do not affect size of widget in Internet Explorer.

links = [
    {'source':'a_','target':'a','value':0},
    {'source':'a_','target':'b','value':4811.5},
    {'source':'a_','target':'c','value':6809},
    {'source':'b_','target':'a','value':3528.5},
    {'source':'b_','target':'b','value':0},
    {'source':'b_','target':'c','value':1307},
    {'source':'b_','target':'d','value':1342},
]

layout = Layout(width="300", height="100")
def sankey(margin_top=10, **value):
    """Show SankeyWidget with default values for size and margins"""
    return SankeyWidget(layout=layout, scale=0.001,
                        margins=dict(top=margin_top, bottom=0, left=100, right=100),
                        **value)
sankey(links=links)
ricklupton commented 1 year ago

Closing this as Internet Explorer is no longer a common browser