如何使我创建的情节更具可读性?
DATA:
ID DATE CODE SOURCE
0 P04 2016-08-08 f m1
1 P04 2015-05-08 f m1
2 P04 2010-07-20 v m3
3 P04 2013-12-06 g m4
4 P08 2018-03-01 h m4
import plotly.express as px
df = px.data.tips()
fig = px.scatter(dfall, x="DATE", y="CODE", facet_col="SOURCE",
width=800, height=400)
fig.update_layout(
margin=dict(l=20, r=20, t=20, b=20),
paper_bgcolor="LightSteelBlue",
)
fig.show()