Move graph function to in-text cell Vietnam
This commit is contained in:
parent
27b8ceb692
commit
a66223481d
1 changed files with 5 additions and 1 deletions
|
@ -33,7 +33,11 @@ one which exogenous shocks can rapidly exacerbate as the example of the COVID-19
|
|||
```{python}
|
||||
#| label: fig-vnm
|
||||
#| fig-cap: "Gini index of consumption per capita for Vietnam. Source: Author's elaboration based on UNU-WIDER WIID (2022)."
|
||||
plot_consumption_gini_percapita_ruralurban(vnm)
|
||||
gni_cnsmpt = vnm[vnm['resource'].str.contains("Consumption")]
|
||||
gni_cnsmpt = gni_cnsmpt[gni_cnsmpt['scale'].str.contains("Per capita")]
|
||||
gni_cnsmpt = gni_cnsmpt[gni_cnsmpt['source'].str.contains("World Bank")]
|
||||
gni_cnsmpt = gni_cnsmpt[gni_cnsmpt['areacovr'].str.contains("All")]
|
||||
gini_plot(gni_cnsmpt)
|
||||
```
|
||||
|
||||
<!--
|
||||
|
|
Loading…
Reference in a new issue