So, the answer is even though matplotlib.org did not officially abandon %matplotlib notebook, they recommend to use %matplotlib widget for better backend compatibility and performance.
%matplotlib notebook
%matplotlib widget