Skip to main contentSkip to solution

The parameter hatch in df.plot(kind = 'hist', hatch ='o') is used for _________.

Solution

✅ Correct Option: 3

The hatch parameter sets a fill pattern inside the bars of the histogram. For example, 'o' fills the bars with small circles, and other values such as '/', '\\', 'x' and '*' give lines, crosses or stars.


Option 1: fill colour is set by color or facecolor, not hatch.

Option 4: outlines are controlled by edgecolor and linewidth.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question