Barem format for ploting

This commit is contained in:
Benjamin Bertrand 2017-01-31 14:06:45 +03:00
parent a761770510
commit 7ad5e59e28
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ def marks_hist(df):
:param df: Dataframe with "Mark" and "Bareme" columns. If it has "Nom" column, it is use in title.
"""
bareme = df["Bareme"].max()
bins = bareme*2
bins = int(bareme*2)
ax = df["Mark"].hist(bins = bins, range=(0,bareme))