Isolate pandas plotting side-effects.