()
| 110 | return p |
| 111 | |
| 112 | def _gen_plotly(): |
| 113 | fig = go.Figure() |
| 114 | fig.add_trace(go.Scatter(x=[0, 1, 2, 3, 4, 5], y=[1.5, 1, 1.3, 0.7, 0.8, 0.9])) |
| 115 | fig.add_trace(go.Bar(x=[0, 1, 2, 3, 4, 5], y=[1, 0.5, 0.7, -1.2, 0.3, 0.4])) |
| 116 | return fig |
| 117 | |
| 118 | def _gen_matplotlib(): |
| 119 | # pd.set_option("plotting.backend", "matplotlib") |