您正在浏览:主页 > 游戏新闻 > Bokeh风格属性设置
作者:雷霆之怒公益服 来源:http://www.edmi.com.cn 时间:2020-09-19 00:34
>>> from bokeh.palettes import Spectral6
>>> Spectral6
['#3288bd', '#99d594', '#e6f598', '#fee08b', '#fc8d59', '#d53e4f']
可视化调色板
line properties line color, width, etc. fill properties fill color, alpha, etc. text properties font styles, colors, etc.
Line Properties
line_color line_width line_alpha line_join line_cap line_dash line_dash_offset
Fill Properties
fill_color fill_alpha
Text Properties
text_font text_font_size text_font_style text_color text_alpha text_align text_baseline
Visible Property
Specifying Colors
Styling Arrow Annotations
Selecting Plot Objects(选择做图对象)
Plots
Plot objects themselves have many visual characteristics that can be styled: the dimensions of the plot, backgrounds, borders, outlines, etc.
Palettes储存了一系列RGBA值来设置颜色地图。
,<<上一篇:指南者爆冷门夺冠 老将CR >>
<<下一篇:Apama与FFastFill联合推出期货差价交易应用程序 >>