我有以下数据集,我正在尝试以此创建散点图。但是,尽管没有数据,但图表之间还有额外的几周时间: Input Data Graph
reset_output()
output_notebook()
data_source = ColumnDataSource(df)
p = figure(width=700, height=400,x_axis_type="datetime"
,toolbar_location='above',tools="save,pan,box_zoom,reset,wheel_zoom"
,title = 'Lead Time Comparison By Lock'
,x_axis_label = 'Months'
,y_axis_label = 'Lead Time')
p.scatter(x='Month'
,y='LeadTime'
,color=(Category10[3])[2]
,source=data_source)
p.xaxis.formatter = DatetimeTickFormatter(days=['%m/%Y'],months=['%m/%Y'])
p.xaxis[0].ticker.desired_num_ticks = number_files
show(p)
请指导