text: # Modify bins to 20
  avocados[avocados["type"] == "conventional"]["avg_price"].hist(alpha=0.5,bins=20)
  
  # Modify bins to 20
  avocados[avocados["type"] == "organic"]["avg_price"].hist(alpha=0.5,bins=20)
  
  # Add a legend
  plt.legend(["conventional", "organic"])
  
  # Show the plot
  plt.show()