Skip to content

Release v0-00-25 - last back compatible release with old string user interface

Pre-release
Pre-release

Choose a tag to compare

@miranov25 miranov25 released this 01 Jan 11:21
· 1661 commits to master since this release

Release v0-00-25 - last back compatible release with old string user interface - #100

90 - First version of histogramming

implemented only for the array/map interface

Example usage:
https://github.com/miranov25/RootInteractive/blob/6f189ecc24d3c4df1ebd98da5a2edb75a772af16/RootInteractive/InteractiveDrawing/bokeh/test_bokehClientHistogram.py#L70

histoArray = [
    {"name": "histoA", "variables": ["A"],"nbins":20},
    {"name": "histoB", "variables": ["B"],"nbins":20},
    {"name": "histoTransform", "variables": ["(A+B)/2"],"nbins":20},
    {"name": "histoAB", "variables": ["A", "B"], "nbins": [20, 20], "weights": "D"},
]
def testBokehClientHistogramOnlyHisto():
    output_file("test_BokehClientHistogramOnlyHisto.html")
    figureArray = [
        [['A'], ['histoA']],
        [['(A+B)/2'], ['histoTransform']],
        [['A'], ['histoAB']],
        [['B'], ['histoB']]
    ]
    figureLayoutDesc=[
        [0, 1,  {'commonX': 1, 'y_visible': 1, 'x_visible':1, 'plot_height': 200}],
        [2, 3, {'commonX': 1, 'y_visible': 1, 'x_visible':1, 'plot_height': 200}],
        {'plot_height': 100, 'sizing_mode': 'scale_width', 'y_visible' : 2}
    ]
    xxx = bokehDrawSA.fromArray(df, "A>0", figureArray, widgetParams, layout=figureLayoutDesc, tooltips=tooltips,