2017-09-15 12 views

답변

0

Bokeh palettes 목록에 색상을 저장하십시오. plot 함수에는 명시적인 값이 필요합니다. - 예 :

from bokeh.plotting import figure, show 
from bokeh.palettes import Greys 
p=figure() 
color=Greys[3][1] #See the pyramid in the above mentioned link 
p.line([1,2,3],[2,3,2],color=color) 
show(p)