Pandas bar plot changes date format
The plotting code assumes that each bar in a bar plot deserves its own label. You could override this assumption by specifying your own formatter: ax.xaxis.set_major_formatter(formatter) The pandas.tseries.converter.TimeSeries_DateFormatter that Pandas uses to format the dates in the “good” plot works well with line plots when the x-values are dates. However, with a bar plot the … Read more