Open sen1 opened 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.
ax
ax.set_ylabel
plt.ylabel
Great point - sometimes I forget the different options for accomplishing the same things.
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 figureax.set_ylabel
is the same asplt.ylabel
but to be consistent with lines above, I would use theax
object.