Having “broken” y-axis in Bokeh plot/figure

烈酒焚心 提交于 2019-12-11 15:27:24

问题


Is there a way to have a "broken" y-axis in a Bokeh figure/plot, so that values that stand out too much will not ruin the entire plot? In my case I am using vbar, but guess this has to do with the figure object.

E.g.

Thanks!


回答1:


As of version 0.12.14 there is no built-in broken axis capability in Bokeh. It might be possible to implement custom extension mapper and axis models for this, but it would not be trivial to do. To propose adding this functionality to Bokeh directly, make a Github feature request issue.



来源:https://stackoverflow.com/questions/48785310/having-broken-y-axis-in-bokeh-plot-figure

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!