adapting cwt plots in gallery