1 Upvote

Remove All Ticks from a Matplotlib Chart

Python
Visualisation & EDA

fig, ax = plt.subplots(figsize=(12, 8))

ax.hist(df['col_A'])

ax.tick_params(left=False, top=False, right=False, bottom=False)

By GregHe1979 - Last Updated June 19, 2022, 9:23 p.m.

Did you find this snippet useful?

Sign up to bookmark this in your snippet library

COMMENTS
RELATED SNIPPETS
2
Top Contributors
103
100