How to fix the height of bar in bar chart

Hi,

I’m using bokeh to make a vertical bar chart, and the number of bars in this chart will be different based on the difference of selected criteria, so the chart will look very weird if there is only one or two bars, so I want to know how can I get a fixed height of bar and also fixed distance between two bars, to get a consistence chart, it looks like below attached.

Thanks for your time.

Cooper

Hi,

Please don't spam the same question multiple times on different (old) questions. As the maintainer of the project and list, doing that it makes it disorganized and personally stressful -- either the same answer now has to be duplicated in multiple places, or else we have to worry that users will run across the unanswered versions.

Thanks,

Bryan

···

On Jun 13, 2018, at 23:58, Cooper hu <[email protected]> wrote:

Hi,

I'm using bokeh to make a vertical bar chart, and the number of bars in this chart will be different based on the difference of selected criteria, so the chart will look very weird if there is only one or two bars, so I want to know how can I get a fixed height of bar and also fixed distance between two bars, to get a consistence chart, it looks like below attached.

Thanks for your time.

Cooper

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/701a4de5-7a3e-4f39-a216-467bdcbeb2ae%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
<Screen Shot 2018-06-14 at 2.38.11 PM.png>