set_clipboard_kwargsο
- static Maps.set_clipboard_kwargs(**kwargs)ο
Set GLOBAL savefig parameters for all Maps objects on export to the clipboard.
press βcontrol + cβ to export the figure to the clipboard
All arguments are passed to
Maps.savefig()
Useful options are
dpi : the dots-per-inch of the figure
refetch_wms: re-fetch webmaps with respect to the export-dpi
bbox_inches: use βtightβ to export figure with a tight boundary
pad_inches: the size of the boundary if bbox_inches=βtightβ
transparent: if True, export with a transparent background
facecolor: the background color
- Parameters:
kwargs β Keyword-arguments passed to
Maps.savefig()
.
Note
This function sets the clipboard kwargs for all Maps-objects!
Exporting to the clipboard only works if PyQt5 is used as matplotlib backend! (the default if PyQt is installed)
See also
Maps.savefig
Save the figure as jpeg, png, etc.