Is there any way to remove the padding that surrounds the lines/glyphs inside of a chart?
In the example below I would like to remove the left and right space/padding so that x=0 is inline with the y axis and x=10000 is inline with the right-hand edge of the plot.
Many thanks,
Alex
from bokeh.plotting import figure, output_file, show
import numpy as np
output_file("mwe.html")
p = figure()
p.line(np.arange(0, 10000, 1), np.random.randint(200, 800, 10000), line_width=1)
show(p)
Is there any way to remove the padding that surrounds the lines/glyphs inside of a chart?
In the example below I would like to remove the left and right space/padding so that x=0 is inline with the y axis and x=10000 is inline with the right-hand edge of the plot.
Many thanks,
Alex
from bokeh.plotting import figure, output_file, show
import numpy as np