Guided Project: Visualizing The Gender Gap In College Degrees. Ax.tick_params. False instead of "Off"

Hi friends,
I would like to share with you with one desicion if someone stuck with ax.tick_params() and how to turn off ticks and labels.
I was doing this project in my Jupyter Notebook and when I used str ‘off’ and ‘on’ to remove ticks and labels, nothing changed.
So I went into description of the ax.tick_params() method and found that it has the meaning bool , so I used False instead of “Off” and True instead of “On”

bottom, top, left, right bool

Whether to draw the respective ticks.

labelbottom, labeltop, labelleft, labelright bool

Whether to draw the respective tick labels.

1 Like