Now the legends are correctly updated when the user selects new
parameters in the VizMapper. For example, if the color scale is changed,
the legend is automatically updated. This is done by adding a listener
to the proper mappings (e.g., continuous mapping for the colors) inside
the vizMap of any newly selected visual mapping (see the listener added
in InatPlugin)