Module 09 Summary
What this module established
Use fig, ax = plt.subplots() and work through ax. Mixing plt. and ax. calls works for one chart and silently styles the wrong panel once there are several.
Carry forward
- Set axis limits explicitly on every figure. The automatic choice fills the space, which for bars means a truncated axis by default.
- Anchor annotations in data coordinates so they survive resizing, which every figure eventually undergoes.
- Put house style in one function that also asks for the title and subtitle, so the finding and scope are captured while still known.
Before moving on
Move on when every chart in your deck comes from one house-style function and every annotation survives a resize.
