im trying to plot 2 different plot, one at the left of the other, i try to use sublot from matplot but it is putting the seccond plot down the other i supose i use it wrong the subplot, this is my code
# Create bars
from matplotlib.pyplot import figure
bar = plt.figure(figsize=(10,5))
plt.subplot(121)
plt.barh(plottl['Nombres'] ,plottl['Probas'])
presunto= plt.figure(figsize=(10,10))
presunto = plt.subplot(122)
img=mpimg.imread((predict+names[0]+ '/'+ onlyfiles[0]))
mgplot = plt.imshow(img)
plt.show()
predictions=[]
now here is a pic. of what is happening
i was hopping you can helpme to solve this, thank you all in advance
edit: i put here the asked picture