title: Plotly add dropdown in graph to show multiple graphs
body: <p>I have plotted 4 types of graphs, <code>bar</code>,<code>scatter</code>,<code>pie</code>,<code>sunburst</code> for a dataset.</p>
  <pre><code>data=winner_list
  plot = px.bar(winner_list,x=&quot;Team&quot;,y=&quot;Win_count&quot;)
  plot.show()
  </code></pre>
  <p>when i use the following code, i cannot view the multiple graphs in dropdown, only the first graph is visible</p>
  <pre><code>#to give dropdown for plots
  
  plot.update_layout(
  
      updatemenus=[
  
          dict(
  
              buttons=list([
                  dict(
                      args=[&quot;type&quot;, &quot;pie&quot;],
                      label=&quot;Bar Chart&quot;,
                      method=&quot;restyle&quot;
                  ),
                  dict(
                      args=[&quot;type&quot;, &quot;scatter&quot;],
                       label=&quot;s chart&quot;,
                      method=&quot;restyle&quot;
                  ),
                   dict(
                      args=[&quot;type&quot;, &quot;fig14&quot;],
                       label=&quot;P chart&quot;,
                      method=&quot;restyle&quot;
                  )
              ]),
              direction=&quot;down&quot;,
          ),
      ]
  )
  
   plot.show()
  </code></pre>
  <p>how can i place a dropdown in the graph, so that i can view different plots</p>