set_patch_props๏ƒ

ScaleBar.set_patch_props(offsets=None, **kwargs)๏ƒ

Set the properties of the frame (and update the plot accordingly)

Parameters
  • offsets (tuple, optional) โ€“ A tuple that is used to adjust the offset of the frame-patch. Individual values represent (top, bottom, left, right) on a horizontally oriented scalebar. The default is (1, 1, 1, 1).

  • kwargs โ€“

    Additional kwargs are passed to the matpltlotlib.Patches.PolygonPatch that is used to draw the frame. The default is {โ€œfcโ€: โ€œ.75โ€, โ€œecโ€: โ€œkโ€, โ€œlwโ€: 1, โ€œlsโ€: โ€œ-โ€œ}

    Possible values are:

    • โ€facecolorโ€, โ€œedgecolorโ€, โ€œlinewidthโ€, โ€œlinestyleโ€, โ€œalphaโ€ โ€ฆ