Melt blending in situ enhances the interaction between polystyrene and graphene through π-π stacking.