How to configure the size

How to configure the size separately for two different subplots?

How size ax1 different than ax2?

fig, (ax1, ax2) = plt.subplots(figsize = (10, 10), ncols=2)
  
  ax1.imshow(test_images)
  ax1.axis('off')
  ax1.set_title(flower_names[0])

  ax2.barh(top_k_indices[0], top_k_values[0])
  ax2.set_aspect(0.1)
  ax2.set_yticks(top_k_indices[0])
  ax2.set_yticklabels(flower_names);
  ax2.set_title('Class Probability')
  ax2.set_xlim(0, 1.1)

  plt.tight_layout()
  plt.show()

How exactly do you want to configure the size? There is not really any sizing in the example.