散景中的自动图例放置

use*_*666 5 python bokeh

Bokeh 是否具有在绘图中自动定位图例的功能,类似于 Matplotlib

Luk*_*van -2

是的。只需将 legend.location 属性设置为可枚举位置之一(即“top_left”或“bottom_right”):

http://docs.bokeh.org/en/latest/docs/reference/models/annotations.html#bokeh.models.annotations.Legend.location