Reputation: 510
How can I scale my vertical axis to scientific notation in altair library. On the image below for example, there will be 5e10
instead of 50,000,000,000
.
alt.Chart(df).mark_area().encode(
x=alt.X("date:T"),
y=alt.Y("time:Q"),
color="type"
)
Upvotes: 1
Views: 1296