cartopy.feature.Scaler#

class cartopy.feature.Scaler(scale)[source]#

General object for handling the scale of the geometries used in a Feature.

scale_from_extent(extent)[source]#

Given an extent, update the scale.

Parameters:

extent – The boundaries of the plotted area of a projection. The coordinate system of the extent should be constant, and at the same scale as the scales argument in the constructor.