8000 Fix example · matplotlib/matplotlib@ba7fdf2 · GitHub
[go: up one dir, main page]

Skip to content

Commit ba7fdf2

Browse files
dstansbyQuLogic
andauthored
Fix example
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent 60b28ab commit ba7fdf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/widgets/polygon_selector_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def __init__(self, ax, collection, alpha_other=0.3):
5050
elif len(self.fc) == 1:
5151
self.fc = np.tile(self.fc, (self.Npts, 1))
5252

53-
self.poly = PolygonSelector(ax, self.onselect, draw_box=True)
53+
self.poly = PolygonSelector(ax, self.onselect, draw_bounding_box=True)
5454
self.ind = []
5555

5656
def onselect(self, verts):

0 commit comments

Comments
 (0)
0