0
我试图建立一个散景条形图和我的数据源(df_fac)就像是以下几点:散景条形图不显示正确
到目前为止我的代码:
# source
source2 = ColumnDataSource(df_fac)
# Bar chart
bar = figure(plot_width=600, plot_height=600,
x_axis_label='Faculty',
y_axis_label='Number of invoice processed & paid',
tools=['save', 'reset'])
bar.vbar(x='FACULTY', bottom=0, top='PAPER', width=50, color='STEELBLUE', source=source2)
reset_output()
show(bar)
但是我的输出是这样的:
我的散景版是0.12.7。我试图在Chrome和IE浏览器中查看输出结果,但没有成功。提前致谢。