Matplotlib maps can be constructed through the Map object. Matplotlib automatically creates a color ramp using a continual color range. The continual range of colors can be quite useful for distinguishing different values. A Map object accepts the following parameters:
An example:
Map(
source_data = source_data,
dataset_name = 'zone',
name = 'my_population_at_zone_level',
attribute = 'urbansim.zone.population',
years = [2010, 2020],
scale = [-5000, 250000]
)