0
나는이 메소드를 처음 사용합니다. 다음과 같은 입력을 만들었지 만 출력이 비어 있습니다. 내가 놓친 게 무엇입니까? 고맙습니다.Bokeh 간단한 막 대형 차트
import pandas as pd
from bokeh.charts import Bar
import pandas as pd
from bokeh.plotting import figure, output_file, show
mortality_age = pd.read_csv("mortality_by_age.csv")
x=mortality_age["Age Range"]
y=mortality_age["Deaths per 100,000 Live Births:"]
plot = figure(title="Example of a vertical bar chart")
plot.vbar(x, top=y, width=0.5,color="#CAB2D6")
output_file("vertical_bar.html", mode="inline")
show(plot)