__init__

DraggableLegend_new.__init__(m=None, *args, **kwargs)

Wrapper around a .Legend to support mouse dragging.

Parameters:
  • legend (.Legend) – The .Legend instance to wrap.

  • use_blit (bool, optional) – Use blitting for faster image composition. For details see func-animation.

  • update ({'loc', 'bbox'}, optional) – If β€œloc”, update the loc parameter of the legend upon finalizing. If β€œbbox”, update the bbox_to_anchor parameter.