Please enable JavaScript.
Coggle requires JavaScript to display documents.
matplotlib (pyplot (hist (plt.hist(life_exp), plt.hist(life_exp,bins=5)),…
matplotlib
pyplot
-
-
-
scatter
plt.scatter(gdp_cap, life_exp)
-
hist
-
plt.hist(life_exp,bins=5)
-
-
xticks
Definition of tick_val and tick_lab
tick_val = [1000,10000,100000]
tick_lab = ['1k','10k','100k']
Adapt the ticks on the x-axis
plt.xticks(tick_val,tick_lab)
-
-