Skip to content

Commit

Permalink
Merge pull request #2635 from palewire/patch-11
Browse files Browse the repository at this point in the history
Add pyramid pie chart to case studies
  • Loading branch information
mattijn authored Jul 2, 2022
2 parents 9665525 + 29a7934 commit 6dbac8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion altair/examples/pyramid.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
-----------------
Altair reproduction of http://robslink.com/SAS/democd91/pyramid_pie.htm
"""
# category: case studies
import altair as alt
import pandas as pd

Expand All @@ -16,4 +17,4 @@
scale=alt.Scale(domain=category, range=color),
legend=alt.Legend(title=None, orient='none', legendX=160, legendY=50)),
order='value:Q'
).properties(width=150, height=150).configure_view(strokeOpacity=0)
).properties(width=150, height=150).configure_view(strokeOpacity=0)

0 comments on commit 6dbac8f

Please sign in to comment.