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

Method get_draggable

lib/matplotlib/legend.py:1255–1257  ·  view source on GitHub ↗

Return ``True`` if the legend is draggable, ``False`` otherwise.

(self)

Source from the content-addressed store, hash-verified

1253 return self._draggable
1254
1255 def get_draggable(self):
1256 """Return ``True`` if the legend is draggable, ``False`` otherwise."""
1257 return self._draggable is not None
1258
1259
1260# Helper functions to parse legend arguments for both `figure.legend` and

Callers 2

test_get_set_draggableFunction · 0.80
test_legend_draggableFunction · 0.80

Calls

no outgoing calls

Tested by 2

test_get_set_draggableFunction · 0.64
test_legend_draggableFunction · 0.64