Projekt

Obecné

Profil

« Předchozí | Další » 

Revize c9bff745

Přidáno uživatelem Jan Rach před téměř 4 roky(ů)

Feature/9017 graph title

Zobrazit rozdíly:

aswi2021vochomurka/view/main_view.py
117 117
            figure = self.figureDict[message.topic]
118 118
            figure.clear()
119 119

  
120
            plt.figure(figure.number)
120
            figure = plt.figure(figure.number)
121
            figure.suptitle(message.topic)
121 122
            plt.plot(self.dataDict[message.topic])
122 123

  
123 124
            self.canvasDict[message.topic].draw()
......
129 130
            layout = QHBoxLayout()
130 131

  
131 132
            plt.plot(self.dataDict[message.topic])
133
            figure.suptitle(message.topic)
132 134

  
133 135
            self.canvasDict[message.topic] = canvas
134 136
            self.figureDict[message.topic] = figure

Také k dispozici: Unified diff