MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_frame_props

Method set_frame_props

lib/matplotlib/widgets.py:1360–1375  ·  view source on GitHub ↗

Set properties of the check button frames. .. versionadded:: 3.7 Parameters ---------- props : dict Dictionary of `.Collection` properties to be used for the check button frames.

(self, props)

Source from the content-addressed store, hash-verified

1358 self._init_status(actives)
1359
1360 def set_frame_props(self, props):
1361 """
1362 Set properties of the check button frames.
1363
1364 .. versionadded:: 3.7
1365
1366 Parameters
1367 ----------
1368 props : dict
1369 Dictionary of `.Collection` properties to be used for the check
1370 button frames.
1371 """
1372 _api.check_isinstance(dict, props=props)
1373 if 's' in props: # Keep API consistent with constructor.
1374 props['sizes'] = np.broadcast_to(props.pop('s'), len(self.labels))
1375 self._frames.update(props)
1376
1377 def set_check_props(self, props):
1378 """

Callers 1

test_check_button_propsFunction · 0.95

Calls 2

popMethod · 0.45
updateMethod · 0.45

Tested by 1

test_check_button_propsFunction · 0.76