title: Multiple boxplots in subplots with plotly
body: <p>I am trying to create a multiple boxplot app with subplots from plotly that lets me know the evolution of a variable separated by different criteria.</p>
  <p>My code looks like this:</p>
  <pre><code>from plotly.subplots import make_subplots
  import plotly.graph_objects as go
  
  trace0 = go.Box(
      y=df[(df.tipo == 'n')]['p'],
      x=df[(df.tipo == 'n')]['m'], 
      name='N'
  )
  
  trace1 = go.Box(
      y=df[(df.tipo == 's')]['p'],
      x=df[(df.tipo == 's')]['m'], 
      name='S'
  )
  
  
  fig = make_subplots(rows=1, cols=2)
  
  fig.append_trace(trace0, row = 1, col = 1)
  fig.append_trace(trace1, row = 1, col = 2)
  
  fig.show()
  </code></pre>
  <p>The output of this looks like:</p>
  <p><a href="https://i.stack.imgur.com/jvjsY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jvjsY.png" alt="enter image description here" /></a></p>
  <p>What I am trying to get is something that would look like this, but for each subplot:</p>
  <p><a href="https://i.stack.imgur.com/zDh6b.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zDh6b.png" alt="enter image description here" /></a></p>
  <p>I do have two dummy variables that allow me to separate it in subplots.</p>
  <p>Thank you</p>