Sets options for the spatial plot. One argument will return the value; two arguments sets the parameter. Config options are:
patchColormap
(str
): The name of a Matplotlib colormap for coloring the patches. Default:'blues'
patchProperty
(str
): The name of a property to which the colormap should correspond. For example, The default value of'mapcolor'
for example means that patch color will represent the patch’s value ofPatch.mapcolor
, which can be set in thepatchStep
hook. If the string is formatted'good:goodname'
, patch colors will represent the patch’s stocks of the good represented bygoodname
. Default:'mapcolor'
agentMarker
(str
): a string representing the Matplotlib marker to be used to represent agents on the map. Default:'o'
agentSize
(int|str
): If an integer, sets the size of the marker used to represent agents. If a string, represents an agent property or the stocks of a good to size the agent by, identically to patchProperty. Default:5
Parameters
param — str, required
The parameter name to set or get, depending on if the second argument is set.
val — str|num, optional
The value to set the parameter to.
Default value: None
Notes and Examples