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瀏覽器中查看輸出結果,但沒有成功。提前致謝。