☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

vbar_stack with zero data

Community Support
timbotsford
timbotsford

Is it expected that using vbar_stack with zero’s in data will still leave a color artifact (glyph is not actually zero height)?

stacked graph below where zero value items still show up as a line. Regular vbar graphs do not seem to have this issue.

It is also easily reproducible by modifying the dataset in the “Stacked” example in the docs to add zeros.

⌁   Link to post
Bryan
Bryan

The underlying HTML canvas will always draw a line if requested (e.g. the outline around a text). If you want to not have the rect outline you can set the line color to None.

Thanks,

Bryan

···

On Jun 28, 2018, at 21:11, timbotsford@gmail.com wrote:

Is it expected that using vbar_stack with zero’s in data will still leave a color artifact (glyph is not actually zero height)?

stacked graph below where zero value items still show up as a line. Regular vbar graphs do not seem to have this issue.

It is also easily reproducible by modifying the dataset in the “Stacked” example in the docs to add zeros.

https://bokeh.pydata.org/en/latest/docs/user_guide/categorical.html

–

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/f9dd4a81-31ca-4eb0-9ec5-8201deb9f2ef%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post

End of archived discussion · Replies are disabled