Bonjour,
J'utilise matplotlib pour afficher des graphiques dans mon appli python:
La fenêtre graphique ainsi affichée propose par défaut des boutons : home, resize, save ...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 fig1 = plt.figure() ax1 = fig1.add_subplot(111) #Add levels on y axis l1 = ax1.plot(self.oneflight['timeinsec'],self.oneflight['rfl']) ... #Set Title and comments ax1.set_ylabel('Level') ax1.set_xlabel('Absolut time(s)') ax1.set_title('Ground profile ' + self.oneflight['callsign'][1]) plt.show()
Comment agir sur ces boutons : les supprimer ou ajouter un autre bouton ou modifier les events correspondants ? Je n'ai rien trouver à ce sujet dans la doc matplotlib.
Merci
Partager