【发布时间】:2021-02-14 19:37:34
【问题描述】:
我创造了“演员伯爵”的传奇,但我不知道如何生成另一个。我的代码如下:
plot = base.mark_circle(
opacity=0.8,
stroke='black',
strokeWidth=1
).encode(
alt.X('TYPE:O'),
alt.Y('index:N',
sort= movies_order
),
alt.Size('count(index):Q',
scale=alt.Scale(range=[0,4500]),
legend=alt.Legend(title='Count of actors', symbolFillColor='white')),
alt.Color('GENDER', legend=None)
#complete this
).properties(
width=350,
height=880
【问题讨论】:
标签: python python-3.x altair