You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently none of the Example models visualize the PropertyLayers, it would be useful if at least one of them did. This could be Sugarscape Constant Growback Model with Traders for example.
I looked at the sugarscape example, and the current portrayal of property layers is not compatible with what would be required for sugarscape. The issue is that currently the entire layer is shown, and you cannot mask part of the layer as done in sugarscape.
It seems I did allow scaling over alpha instead of color in the implementation (#2336): 7c8e98b
Any matplotlib color is valid. The highest value will have that color with 0% opacity, the lowest with 100% opacity (which can again be scaled with modifying vmin and vmax).
That should work if you define a "color" instead of a "colormap" in the propertylayer_portrayal dict.
Currently none of the Example models visualize the PropertyLayers, it would be useful if at least one of them did. This could be Sugarscape Constant Growback Model with Traders for example.
See:
The text was updated successfully, but these errors were encountered: