diff --git a/abaqueCuve.py b/abaqueCuve.py index c9e1fda..da03521 100644 --- a/abaqueCuve.py +++ b/abaqueCuve.py @@ -108,6 +108,10 @@ ax2.tick_params(axis='y', labelcolor='r') ax2.set_yticks(flèche_grad) # Aligner les graduations de l'axe de droite sur les hauteurs ax2.grid(visible=True, linestyle='--', alpha=0.6, which='both') # Quadrillage en pointillé +# Ajouter un quadrillage qui colle aux volumes +ax1.set_yticks(volumes_grad) # Aligner les graduations de l'axe de gauche sur les volumes +ax1.grid(visible=True, linestyle='--', alpha=0.6, which='both') # Quadrillage en pointillé + # Show the plot fig.tight_layout() plt.show()