title: How do I add space between the tick labels and the graph in plotly (python)?
body: <p>If I create a horizontal bar graph using plotly, the labels for each bar are right up against the graph. I'd like to add some space/pad/margin between the label and the graph. How can I do this? </p>
  
  <p>Example:</p>
  
  <pre><code>import plotly.offline as py
  import plotly.graph_objs as go
  labels = ['Alice','Bob','Carl']
  vals = [2,5,4]
  
  data = [go.Bar(x=vals, y=labels, orientation='h')]
  
  fig = go.Figure(data)
  py.iplot(fig)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/fCAKd.png" rel="noreferrer"><img src="https://i.stack.imgur.com/fCAKd.png" alt="enter image description here"></a></p>