title: How to rotate X-axis labels in bokeh figure?
body: <p>I'm just starting to use Bokeh. Below I create some args I use for the <a href="http://bokeh.pydata.org/en/latest/docs/reference/plotting.html#bokeh.plotting.figure.Figure.rect" rel="noreferrer">rect figure</a>.</p>
  
  <pre><code>x_length = var_results.index * 5.5
  </code></pre>
  
  <p>Multiplying the index by 5.5 gave me more room between labels.</p>
  
  <pre><code>names = var_results.Feature.tolist()
  y_length = var_results.Variance
  y_center = var_results.Variance/2
  </code></pre>
  
  <p><code>var_results</code> is a Pandas dataframe that has a typical, sequential, non-repeating index. <code>var_results</code> also has a column <code>Features</code> that is strings of non-repeated, names, and finally it has a column <code>Variance</code> which is dtype float.</p>
  
  <pre><code>r = figure(x_range = names, 
             y_range = (-0.05,.3), 
             active_scroll = 'wheel_zoom', 
             x_axis_label = 'Features', 
             y_axis_label = 'Variance')
  
  
  
  r.rect(x_length, 
         y_center, 
         width=1, 
         height=y_length, 
         color = "#ff1200")
  output_notebook()
  show(r)
  </code></pre>
  
  <p>I'm essentially making a bar chart with rectangles. Bokeh seems to be very customizable. But my graph looks rough around the edges, literally.</p>
  
  <p><a href="http://bokeh.pydata.org/en/latest/docs/reference/plotting.html#bokeh.plotting.figure.Figure.rect" rel="noreferrer"><img src="https://i.stack.imgur.com/jKCRJ.png" alt="enter image description here"></a></p>
  
  <p>As you can see there is an ugly smudge just below the chart and above the x-axis title 'Features'. This is the label titles (technically the rectangle titles). How do I create space for and perhaps rotate to 45 degrees the labels so that they are readable and not just an overlapping mess?</p>