Answers for "plotly change size of subplots"

0

plotly plot size

import plotly.express as px

df = px.data.tips()
fig = px.scatter(df, x="total_bill", y="tip", facet_col="sex",
                 width=800, height=400)

fig.update_layout(
    margin=dict(l=20, r=20, t=20, b=20),
    paper_bgcolor="LightSteelBlue",
)

fig.show()
Posted by: Guest on February-21-2022
0

matplotlib make bigger sublots

f, (a0, a1) = plt.subplots(1, 2, gridspec_kw={'width_ratios': [3, 1]})
Posted by: Guest on January-03-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language