Coding skills here for learning
5 subscribers
266 photos
3 files
10 links
Download Telegram
labels = ['player1', 'player2', 'player3']
colors = ['#008fd5', '#fc4f30', '#6d904f']
plt.stackplot(minutes, player1, player2, player3, labels = labels, colors= colors)
plt.legend(loc = 'lower left')
plt.title("My Awesome Stack Plot")
plt.tight_layout()
plt.show

matplotlib with
ages = [18,19,21,25,26,26,30,32,38,45,55]
bins = [10,20,30,40,50,60]

median_age = 29

color = '#fc4f30'

plt.hist(ages, bins=bins, edgecolor='black', log=True, alpha = 0.5, label = 'Age Median')

plt.grid(True)

# plt.axvline(median_age, color = color, label = 'Age Median')
plt.legend()
plt.title('Ages of Respondents')
plt.tight_layout()