具有“破碎"的状态.散景图/图中的y轴 [英] Having "broken" y-axis in Bokeh plot/figure

查看:68
本文介绍了具有“破碎"的状态.散景图/图中的y轴的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有办法在散景图形/图中使y轴断开",以至于突出太多的值不会破坏整个图?就我而言,我正在使用vbar,但是猜想这与figure对象有关.

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.

例如

谢谢!

推荐答案

自版本0.12.14起,Bokeh中没有内置的断轴功能.为此,可能可以实现自定义扩展映射器和轴模型,但这并不是一件容易的事.要建议直接将此功能添加到Bokeh中,请创建 Github功能请求问题.

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.

这篇关于具有“破碎"的状态.散景图/图中的y轴的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆