jasoncfoster / intro-data-capstone-biodiversity

0 stars 0 forks source link

Use ax for axis labels #4

Open sen1 opened 6 years ago

sen1 commented 6 years ago

https://github.com/jasoncfoster/intro-data-capstone-biodiversity/blob/14bfe8a623819dc28569ed193253601ea2e3198e/Capstone20171219-JasonFoster/biodiversity.py#L348-L351

I would use the ax object to set the axis labels. Since you have only one plot in that figure ax.set_ylabel is the same as plt.ylabel but to be consistent with lines above, I would use the ax object.

jasoncfoster commented 6 years ago

Great point - sometimes I forget the different options for accomplishing the same things.