Intervalised datasets
This commit is contained in:
@@ -5,10 +5,19 @@ import gunner
|
||||
from numpy import count_nonzero
|
||||
|
||||
sns.set()
|
||||
plt.xticks(rotation=90)
|
||||
plt.xticks(rotation = 90)
|
||||
|
||||
games_vis = gunner.game_sales_NA
|
||||
|
||||
games_fig = sns.barplot(data = games_vis, x = games_vis["Year"], y = games_vis["NA_Sales"], estimator = count_nonzero)
|
||||
games_pre = gunner.game_sales_NA_pre
|
||||
games_dur = gunner.game_sales_NA_dur
|
||||
games_pos = gunner.game_sales_NA_pos
|
||||
|
||||
games_fig_pre = sns.barplot(data = games_pre, x = "Year", y = "NA_Sales", estimator = count_nonzero)
|
||||
plt.show()
|
||||
|
||||
plt.xticks(rotation = 90)
|
||||
games_fig_dur = sns.barplot(data = games_dur, x = "Year", y = "NA_Sales", estimator = count_nonzero)
|
||||
plt.show()
|
||||
|
||||
plt.xticks(rotation = 90)
|
||||
games_fig_pos = sns.barplot(data = games_pos, x = "Year", y = "NA_Sales", estimator = count_nonzero)
|
||||
plt.show()
|
||||
|
||||
Reference in New Issue
Block a user