Barem format for ploting
This commit is contained in:
parent
a761770510
commit
7ad5e59e28
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user