Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
|
@@ -189,7 +189,7 @@ def apply_transformation(image_choice, transform_choice):
|
|
| 189 |
|
| 190 |
# Créer la figure avec deux sous-graphiques
|
| 191 |
fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(12, 6))
|
| 192 |
-
fig.suptitle('
|
| 193 |
|
| 194 |
# Image originale
|
| 195 |
ax1.imshow(original_img, extent=[-128, 128, -128, 128])
|
|
@@ -213,7 +213,7 @@ def apply_transformation(image_choice, transform_choice):
|
|
| 213 |
|
| 214 |
# Image transformée
|
| 215 |
ax2.imshow(transformed_img, extent=[-128, 128, -128, 128])
|
| 216 |
-
ax2.set_title('Après la transformation
|
| 217 |
bbox=dict(boxstyle="round,pad=0.3", facecolor='#DDA0DD', alpha=0.7))
|
| 218 |
|
| 219 |
# Quadrillage fixe (même que l'original pour comparaison)
|
|
|
|
| 189 |
|
| 190 |
# Créer la figure avec deux sous-graphiques
|
| 191 |
fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(12, 6))
|
| 192 |
+
#fig.suptitle('Transformations Matricielles', fontsize=16, fontweight='bold')
|
| 193 |
|
| 194 |
# Image originale
|
| 195 |
ax1.imshow(original_img, extent=[-128, 128, -128, 128])
|
|
|
|
| 213 |
|
| 214 |
# Image transformée
|
| 215 |
ax2.imshow(transformed_img, extent=[-128, 128, -128, 128])
|
| 216 |
+
ax2.set_title('Après la transformation !', fontsize=14, color='#8A2BE2', fontweight='bold',
|
| 217 |
bbox=dict(boxstyle="round,pad=0.3", facecolor='#DDA0DD', alpha=0.7))
|
| 218 |
|
| 219 |
# Quadrillage fixe (même que l'original pour comparaison)
|