-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbasic_matplots.py
More file actions
28 lines (28 loc) · 905 Bytes
/
basic_matplots.py
File metadata and controls
28 lines (28 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#plt.rcParams['figure.figsize'] = (18, 7)
#
#color = plt.cm.copper(np.linspace(0, 1, 40))
#data['Methods'].value_counts().head(40).plot.bar(color=color)
#plt.title('Most Popular Methods by the Users', fontsize=20)
#plt.show()
#
#plt.rcParams['figure.figsize'] = (18, 7)
#
#color = plt.cm.copper(np.linspace(0, 1, 40))
#data['month'].value_counts().head(40).plot.bar(color='cyan')
#plt.title('Most Popular Months of Logins', fontsize=20)
#plt.show()
#
#plt.rcParams['figure.figsize'] = (18, 7)
#
#color = plt.cm.copper(np.linspace(0, 1, 40))
#data['day'].value_counts().head(40).plot.bar(color='tomato')
#plt.title('Most Popular Days of Logins', fontsize=20)
#plt.show()
#
#plt.rcParams['figure.figsize'] = (18, 7)
#
#color = plt.cm.Wistia(np.linspace(0, 1, 40))
#data['Status'].value_counts().head(40).plot.bar(color='seagreen')
#plt.title('Most Popular statuses for the Users', fontsize=20)
#plt.show()
#