()
| 116 | return fig |
| 117 | |
| 118 | def _gen_matplotlib(): |
| 119 | # pd.set_option("plotting.backend", "matplotlib") |
| 120 | fig, ax = plt.subplots() |
| 121 | df = gen_df() |
| 122 | ax.plot(df["x"], df["y"]) |
| 123 | # gen_df().plot.scatter("x", "y", ax=ax) |
| 124 | return fig |
| 125 | |
| 126 | def _gen_html(w: int = 30, h: int = 30): |
| 127 | return b.HTML( |