Nov-07-2021, 02:54 PM
Hello !
I'd like to plot 4 plots on the same raw but I don't know how... I tried the command : plt.subplot(1,4,) but it doesn't seem to work.
You'll find the notebook on my GitHub (https://github.com/MathisGitHub/La-Comed...-1733-1734) and the code is at entry 78. The code looks like :
I'd like to plot 4 plots on the same raw but I don't know how... I tried the command : plt.subplot(1,4,) but it doesn't seem to work.
You'll find the notebook on my GitHub (https://github.com/MathisGitHub/La-Comed...-1733-1734) and the code is at entry 78. The code looks like :
actes=[1.0, 2.0, 3.0, 5.0] plt.figure(1,figsize = (20, 20)) plt.suptitle('Nombre utilisateurs pour chaque jour de la semaine') for i in actes : plt.subplot(4,4,i, title="Nature du texte pour une pièce en " + str(int(i)) + ' acte(s)') plt.ylim(ymax=250) CF_saison[(CF_saison['acts_x'] == i)]['prose_vers'].value_counts().plot(kind='bar')Thank you very much for your help !

