I’m using Bokeh to plot Gantt charts on a web page. I’m using a categorical axis on the y axis and a timeseries on the x axis. My charts are always one day long but they have varying amount of categorical variables (let’s say between 5 and 100). I’m manually setting the plot height at an optimal height that makes the categorical variable labels and glyph readable while keeping the chart as short in height as possible. I want the plot to be responsive and take the full width of the window but keep the height I set. I’m currently using responsive = True but that maintains aspect ratio and resizes the height. On a narrow window, the categorical variable get too close to each other and on a large window, the plot takes too much height.