else:
jour_maxi = conf["maxi"]+1
- jour_maxi = min(jour_maxi,jours_maxi_courbe)
+ # On s'assure que c'est bien compris dans les bornes
+ #warning("bla"+str(jour_maxi),liste_err)
+ jour_maxi = max(CONFIG["jours_mini_courbe"],min(jour_maxi,CONFIG["jours_maxi_courbe"]))
+ #warning("bla"+str(jour_maxi),liste_err)
if conf["unite"] == "":
conf["unite"] = choix_unite(jour_maxi)
titre = "Courbe de poids OMS"
-# warning("cree_figure : ça va jusque là ",liste_err)
+ #warning("cree_figure : ça va jusque là ",liste_err)
#warning("bli"+str(conf),liste_err)
#warninf("coucou")