text_html_output_1.png
import matplotlib as mpl
import matplotlib.pyplot as plt
final_sx_df.plot(kind='bar', rot=90, color='#FF0000')
plt.xlabel('Survival % based on sex')
plt.ylabel('% of Survived')
plt.title('Impact of sex of a passenger on their survival rate on Titanic')
plt.show()