On a standard Bokeh line graph, the color of y-axis label text can be set with the code:
graph.yaxis.major_label_text_color = "#1F77B4"
It is possible to add a second y-axis to the graph, yielding twin axes. The following code would achieve this:
graph.extra_y_ranges = {"range2": bokeh.models.Range1d(start = 0, end = 500)}
graph.add_layout(bokeh.models.LinearAxis(y_range_name = "range2"), "left")
However, it's not clear how to change the color of the label text for this second y-axis. The first code block doesn't specify which y-axis, but it affects the original one. It would be nice if the color of each set of labels corresponded to the lines they measured. How can the color of the new y-axis be changed?