I am new to bokeh. What is the clean way of creating a histogram of the data in bokeh, with two y-axis one is "count" and one is "percentage"? I used quad to create the histogram with "count" axis label, then added the second axis using the extra_y_ranges and the add_layout. Unfortunately the y-axis are not always aligned. I'am sure there is a better way to do this. Also how can I rotate the right y_axis label? I want that to have thee same orientation as the left y_axis. I eventually like to also overlay the pdf of the distribution as well.
Appreciate your help.
Here is the plots I created with 'quad' and extra_y_ranges and I get this and don't like the orientation of the 'Percentage'.
My advise is
Range1dfrombokeh.modelsto both of your y-axis based on your dataquadtwice, one the second y-axis without any coloraxis_label_orientationto set the orientation of the labelsHere is a minimal example:
Here is a very minimal data set stored in a pandas DataFrame
The bokeh section looks like below.