我正在尝试在Python中配置我的Bokeh图,使它们看起来更好一些。例如,有没有办法解决最大缩小问题?这样Bokeh不能缩小比x轴指定的更多?例如。查看bokeh example,尤其是“日期时间轴”。我想修改轴的大小,这样你就不能缩小超过初始x轴的宽度。
另一个问题;有没有办法用指定的颜色填充曲线下的区域?如图USDSEK中所示。我可以提供代码,但我认为现在的问题不是必要的。
答案 0 :(得分:2)
平移/缩放限制仍然是一个开放的功能请求(从0.9.1开始),请参阅:
https://github.com/bokeh/bokeh/issues/572
现在,要绘制填充区域,您将使用http://www.crunchyroll.com/i-cant-understand-what-my-husband-is-saying/episode-13-happy-days-678059
http://www.crunchyroll.com/i-cant-understand-what-my-husband-is-saying/episode-12-baby-skip-beat-678057
http://www.crunchyroll.com/i-cant-understand-what-my-husband-is-saying/episode-11-the-weight-of-value-and-the-value-of-weight-678055
http://www.crunchyroll.com/i-cant-understand-what-my-husband-is-saying/episode-10-fool-couple-678053
http://www.crunchyroll.com/i-cant-understand-what-my-husband-is-saying/episode-9-made-a-wish-it-came-true-and-i-got-in-trouble-678051
.........................
字形功能并计算补丁。参见:
http://bokeh.pydata.org/en/latest/docs/gallery/brewer.html
有计划在patches
中添加填充区域图表作为高级别图表。