Toggle interaction missing in local jupyter

image
This thing is missing in my local jupyter after I tried to run the codes.
Can you help me solve it, please? I am unable to rotate figures.