next up previous index
Next: Chart Up: Constructing a Batch of Previous: Table   Index

Map

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]
)


next up previous index
Next: Chart Up: Constructing a Batch of Previous: Table   Index
info (at) urbansim.org