title: Plotly: How to set the range of the y axis?
body: <p>I have the following code to create the line plot with Plotly. How can I set the range of Y axis to always have it in [0; 10]?</p>
  
  <pre><code>layout = go.Layout(
          title=go.layout.Title(
              text="Test",
              xref='paper',
              x=0
          ),
          xaxis=go.layout.XAxis(
              tickmode='linear',
              tickfont=dict(
                  size=10
              ),
              title=go.layout.xaxis.Title(
                  font=dict(
                      size=14,
                      color='#7f7f7f'
                  )
              )
          ),
          yaxis=go.layout.YAxis(
              title=go.layout.yaxis.Title(
                  text=y,
                  font=dict(
                      size=14,
                      color='#7f7f7f'
                  )
              )
          )
      )
  
      data = [go.Scatter(x=x1, y=y1)]
  </code></pre>