Skip to content

Commit 51cb731

Browse files
lucasgruwezQuLogic
authored andcommitted
Explicitly set black rectangle color
1 parent 94def4e commit 51cb731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/_backend_tk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ def draw_rubberband(self, event, x0, y0, x1, y1):
769769
y1 = height - y1
770770
self.canvas._rubberband_rect_black = (
771771
self.canvas._tkcanvas.create_rectangle(
772-
x0, y0, x1, y1))
772+
x0, y0, x1, y1, outline='black'))
773773
self.canvas._rubberband_rect_white = (
774774
self.canvas._tkcanvas.create_rectangle(
775775
x0, y0, x1, y1, outline='white', dash=(3, 3)))

0 commit comments

Comments
 (0)