Skip to content
Advertisement

Tag: bar-chart

How to resize x axis

df_train = pd.read_csv(‘../input/titanic/train.csv’) df_train.groupby(‘Age’)[‘Survived’].mean().plot.bar(rot=0, title=’Age’,edgecolor=”k”) plt.show() I want to resize the x-axis range, but …

Advertisement