How can I remove all whitespace surrounding a Bokeh plot?
I use the Bokeh plotting interface to produce the following image with progressbars for my project:
From various other stack overflow questions I can figure out how to turn off the grid lines, the tick marks, the labels. However I haven't yet figured out how to cleanly remove all horizontal and vertical padding.
What is a comprehensive what to remove all visual elements and padding from the canvas other than what I explicitly add?
It appears that one is meant to set the minimum border attributes on the figure:
fig.min_border_left = 0
fig.min_border_right = 0
fig.min_border_top = 0
fig.min_border_bottom = 0
http://docs.bokeh.org/en/latest/docs/user_guide/styling.html#border
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With