move matplotlib support routine from refl1d to bumps