Issues in visualising the embeddings code in lecture 3

Hi, I have been working my way around to get the interactive graph for embeddings in Lecture 3.

when I execute this code:
import matplotlib.pyplot as plt
import mplcursors
%matplotlib ipympl

from utils import plot_2D
plot_2D(new_values[:,0], new_values[:,1], input_text_lst_news)

it gives me a JS error. I have tried using matplotlib widget as well since I am working in JupyterLab 4+ version.

But still things are not getting ahead,

Any advice would be helpful.