Remove All Ticks from a Matplotlib Chart

Python

 1|  fig, ax = plt.subplots(figsize=(12, 8))
 2|  
 3|  ax.hist(df['col_A'])
 4|  
 5|  ax.tick_params(left=False, top=False, right=False, bottom=False)
Did you find this snippet useful?

Sign up for free to to add this to your code library