title: plotly make multiple pie chart with position in for loop
body: <p>I'm trying to make a 2*7 subplots with Plotly.</p>
  <p>I want to use a foor loop to iterate over my data to make a different pie chart for each position in the subplot.
  I face 2 issues, I don't know how to give the position while iterating.
  And I also don't have anything on my figure even though I call &quot;show&quot; method.</p>
  <pre><code>import plotly.graph_objs as go
  from plotly.subplots import make_subplots
  labels = stock_by_portals_private.index
  
  spec=[[{'type':'domain'}, {'type':'domain'}, {'type':'domain'}, {'type':'domain'}, {'type':'domain'}, 
  {'type':'domain'}, {'type':'domain'}],
    [{'type':'domain'}, {'type':'domain'}, {'type':'domain'}, {'type':'domain'}, {'type':'domain'}, 
  {'type':'domain'}, {'type':'domain'}]]
  
  fig = make_subplots(rows=2, cols=7, specs=spec, print_grid=True)
  i = 1
  j = 1
  for label in labels:
      private = stock_by_portals_private[stock_by_portals_private.index == label]['id']
      pro = stock_by_portals_pro[stock_by_portals_pro.index == label]['id']
      fig.add_trace(go.Pie(labels=['PRO', 'PRIVATE'], values=[pro , private ],\
                       name=&quot;Répartition des annonceurs par portail: &quot; + str(label)), 1,1)
  
  fig.update_traces(hoverinfo='label+percent+name', textinfo='none')
  fig = go.Figure(fig)
  fig.show()
  </code></pre>