GP - Visualizing The Gender Gap In College Degrees (all plots in one loop w/o repetitions)

Hello
I tried to plot all charts in one loop without using repetition (via calculation figure’s number).

My question to community - how can this be done in a more elegant and understandable way?

https://app.dataquest.io/m/149/guided-project%3A-visualizing-the-gender-gap-in-college-degrees/6/exporting-to-a-file

Basics.ipynb (184.6 KB)

Click here to view the jupyter notebook file in a new tab

1 Like

Someone solved it. You may be comfortable with the method. See here

1 Like

Thank you for reply, Monorienaghogho. I already did this (added all plots in one loop - 6 rows and 3 columns). But I want to ask if the same can be done in a better way (more easy and readable). And to be honest the way in post that you suggested doesn’t seem different than my own approach (the only difference is using additional function).

2 Likes

I think your method is very good.

If you find a better method, please share!

1 Like

Monorien Aghogho, thank you very much for your appreciation.
I will if find any.

1 Like