replaces show with _repr_