Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added charting for inequality metrics #34

Merged
merged 2 commits into from
Sep 25, 2024

Conversation

masterismail
Copy link
Collaborator

@masterismail masterismail commented Sep 11, 2024

usage

# Import necessary modules
from policyengine import EconomicImpact

# Create an instance of EconomicImpact
impact = EconomicImpact(
    reform={"gov.hmrc.income_tax.rates.uk[0].rate": {"2024-01-01.2100-12-31": 0.55}}, 
    country="uk"
)

fig_all = impact.chart("inequality")


fig_all.show()

output

inequality all

Screenshot from 2024-09-11 14-12-58

@nikhilwoodruff nikhilwoodruff merged commit 17c1cf3 into PolicyEngine:main Sep 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants