Shortcuts set_session_colormap(session, key, colormap) Store the colormap in the user session. get_session_colormap(session, key) Get the colormap form a legend stored in the user session and identified by key.