def test_multiple_axes(): return pbp.Plot([ pbp.Plot(a), pbp.Plot(b, pbp.YAxis(pbp.Title(text="B Axis"), opposite=True)), pbp.Plot(c, pbp.YAxis(pbp.Title(text="C Axis"), opposite=True, offset=40)) ])
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")
def _create_dynamic_content(): d = pd.date_range("2012-01-01", periods=10) s = pd.Series(range(len(d)), d) return pbp.Plot(s, width="100%", height="100%")
def test_cumulative_difference(): return pbp.Plot(df_cr, pbp.PlotOptions(pbp.Series(compare="percent")), pbp.TooltipPct(), pbp.YAxisPct())
def test_bar_chart_composite(): return pbp.Plot([pbp.Plot(a, pbp.Column(bar_grouping)), pbp.Plot(b, pbp.Column(bar_grouping))])
def test_bar_chart_stacked(): return pbp.Plot(df, pbp.Column(bar_grouping, stacking="normal"))
def test_bar_chart(): return pbp.Plot(df, pbp.Column(bar_grouping))
def test_scatter_plot(): return pbp.Plot(df.values[:, :2], pbp.Scatter(pbp.Marker(enabled=True)), pbp.Chart(zoom_type="xy"))
def test_dataframe(): return pbp.Plot(df)
def test_series(): return pbp.Plot(a)
def test_widepanel_plot(): return pbp.Plot(wp, pbp.Areasplinerange)