I’m having problems with how dates show up on the x axis of my bar plot. No matter how I format the dates in the dataframe, plotly keeps adding in between values. Below is my code.
#Create Last Week's Verificaiton Output Chart #Verification Outputs lw_count=df_lw.groupby(df_lw['TestDate']).count() data = [go.Bar( x=lw_count.index, y=lw_count['TestID'] )] layout = dict( title= 'Pclean Output: Last Week', xaxis=dict( title='Date'), yaxis=dict( title='Verifications')) fig=dict(data=data, layout=layout) py.offline.iplot(fig)
I tried formatting the x axis with tickformat = ‘%a, %b %d’. But that will then produce the followin
Preformatted textg image.
Any and all help would be appreciated!