1. Learn
  2. /
  3. Courses
  4. /
  5. Python pro uživatele R

Connected

Exercise

Vylepšení grafu

Protože plt.subplots() vrací objekt osy, můžeš použít metody .set_title(), .set_xlabel() a .set_ylabel() k přidání popisků do grafu.

Instructions

100 XP
  • Pomocí metody .set_title() na ose pojmenuj graf: 'Histogram'.
  • Pomocí metody .set_xlabel() na ose pojmenuj osu x: 'Total Bill'.