Skip to content

Commit d9148b2

Browse files
committed
fix home button in legend matplotlib example
1 parent 4ea4cbb commit d9148b2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

example_legend_matplotlib/main.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ def set_touch_mode(self,mode):
153153
self.screen.figure_wgt4.touch_mode=mode
154154

155155
def home(self):
156-
self.screen.figure_wgt.home()
156+
self.screen.figure_wgt1.home()
157+
self.screen.figure_wgt2.home()
158+
self.screen.figure_wgt3.home()
159+
self.screen.figure_wgt4.home()
157160

158161
Test().run()

0 commit comments

Comments
 (0)