How to rotate X-axis labels in bokeh figure?

前端 未结 2 516
鱼传尺愫
鱼传尺愫 2021-01-03 19:23

I\'m just starting to use Bokeh. Below I create some args I use for the rect figure.

x_length = var_results.index * 5.5

Multiplying the ind

2条回答
  •  耶瑟儿~
    2021-01-03 19:57

    As an alternative to rotation, you set the orientation to a fixed value:

    p.xaxis.major_label_orientation = "vertical"
    

    should do what you want, too.

提交回复
热议问题