polartoolkit.draw_region#
- draw_region(**kwargs)[source]#
Plot an interactive map, and use the “Draw a Rectangle” button to draw a rectangle and get the bounding region. Vertices will be returned as the output of the function.
Example
>>> import polartoolkit as ptk ... >>> polygon = ptk.regions.draw_region() >>> region = ptk.polygon_to_region(polygon, hemisphere="north")
- Parameters:
kwargs (
Any)