开发者

Broken bar/coumn chart in matplotlib?

开发者 https://www.devze.com 2023-03-03 02:49 出处:网络
Is there a way, in matplotlib, to plot a broken bar/column chart. The case I seek has one bar that is on a larger scale than the others. An example from Excel looks like this: example

Is there a way, in matplotlib, to plot a broken bar/column chart. The case I seek has one bar that is on a larger scale than the others. An example from Excel looks like this: example

I have looked in the Matplotlib gallery and documentation and found br开发者_开发问答oken bar methods, but they are not quite the same.


Two methods for making a discontinuous axis for a line plot are laid out here. It should be essentially the same process (in either case) for a bar graph. Please leave a comment if either method does not work.

0

精彩评论

暂无评论...
验证码 换一张
取 消