Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b2ab10 + 6629ce6 commit dfd8591Copy full SHA for dfd8591
1 file changed
lib/matplotlib/backends/_backend_tk.py
@@ -764,7 +764,7 @@ def showtip(self, text):
764
if self.tipwindow or not self.text:
765
return
766
x, y, _, _ = self.widget.bbox("insert")
767
- x = x + self.widget.winfo_rootx() + 27
+ x = x + self.widget.winfo_rootx() + self.widget.winfo_width()
768
y = y + self.widget.winfo_rooty()
769
self.tipwindow = tw = tk.Toplevel(self.widget)
770
tw.wm_overrideredirect(1)
0 commit comments