Exemple #1
0
def test_separate_subplots():
    return pbp.Plot([
        pbp.Plot(a, pbp.Line(), pbp.YAxis(pbp.Title(text="a only"),
                                          height=200)),
        pbp.Plot(
            b, pbp.Column(),
            pbp.YAxis(pbp.Title(text="b only"), top=250, height=100, offset=0))
    ],
                    pbp.Tooltip(value_decimals=2),
                    height="400px")
Exemple #2
0
def test_bar_chart_composite():
    return pbp.Plot([pbp.Plot(a, pbp.Column(bar_grouping)),
                     pbp.Plot(b, pbp.Column(bar_grouping))])
Exemple #3
0
def test_bar_chart_stacked():
    return pbp.Plot(df, pbp.Column(bar_grouping, stacking="normal"))
Exemple #4
0
def test_bar_chart():
    return pbp.Plot(df, pbp.Column(bar_grouping))