python - Centering the last matplotlib subplot chart when working with odd number of charts -
if have 5 charts, how can center last (5th) chart if i've made a 3x2 subplot?
this current code:
plt.figure(1) plt.subplot(321) firstperiod.megaball.plot(kind='hist', bins = 25) plt.subplot(322) secondperiod.megaball.plot(kind='hist', bins = 36) plt.subplot(323) thirdperiod.megaball.plot(kind='hist', bins = 52) plt.subplot(324) fourthperiod.megaball.plot(kind='hist', bins = 46) plt.subplot(325) fifthperiod.megaball.plot(kind='hist', bins = 15)
also put more whitespace between charts, axis values don't cramped , overlap.. there option well?
Comments
Post a Comment