remove spines and ticks from graph
import pandas as pd
import matplotlib.pyplot as plt
top20_deathtoll = pd.read_csv('top20_deathtoll.csv')
fig, ax = plt.subplots(figsize=(4.5, 6))
ax.barh(top20_deathtoll['Country_Other'],
top20_deathtoll['Total_Deaths'])
#Remove all four spines from the horizontal bar plot.
for graph_spines in ['left', 'right', 'bottom', 'top']:
ax.spines[graph_spines].set_visible(False)
#Remove the bottom and left ticks from the horizontal bar plot.
ax.tick_params(bottom = False, left = False)
plt.show()