From ae7587559b9ff3c6d4522a8d4e7b693a98dda71e Mon Sep 17 00:00:00 2001 From: Maxime Le Grand <l19010002@V-PJ-02-nux-032.salsa.univ-amu.fr> Date: Fri, 10 Jan 2025 15:09:56 +0100 Subject: [PATCH] rapide rajouts --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 4de9cb2..63c741e 100644 --- a/main.py +++ b/main.py @@ -37,15 +37,15 @@ class TabletteChocolat: def coupe(self,i,j): #changer dimension de la tablette - #refaire appel a coups possible avec nv dimension + #refaire appel a la méthode coups possible avec nv dimension return def plot(self): # objectif: pour le carre 3,2, il faut plt.gca().set_aspect('equal') #dessiner le carre correspondant entre plt.axis('off') #(i+0.1,j+0.1) et (i+0.9,j+0.9) - plt.fill-with-color(D5B799) + plt.fill-with-color(D5B799)#mauvaise synthax plt.plot()#rectangle de base de la tablette entre (0.0) et (m,n)) - plt.plot() + plt.plot()#generation des carres plt.show() plt.close -- GitLab