tmap_mode function

Set tmap mode to static plotting or interactive viewing