I am using jupyter notebook version 1.16.1. and in that I am trying to plot animation but its not visible, only think visible is a blank figure window . and the program doesnot show any error. what could be the possible reason how can I resolve this problem
It sounds like you may possibly need a hard page refresh in your browser. Or at least that is a place to start.
On a Mac in Google Chrome, it is ‘Command + Shift + r’ while you are on the page where the notebook is. Then you want to restart the kernel and run the cell again. (You may need to look up the proper key combination to trigger a hard page refresh for your browser and system.) Also if you installed anything to help any of this work lately, totally restarting your browser and even machine before the hard restart may also help. Animation uses a lot of stuff in the front-end that can get stuck and not updated unless you force it after installing. It is not like installing Pandas and then just using the package immediately after a restart of the kernel.
Creating a space for the plot but not displaying it can happen for several reasons. Usually it is something not quite communicating in the front-end/or not quite correctly installed; however, it could be for other reasons. Sharing minimal, reproducible example would put us firmer ground for discussion. (See Getting good answers to your questions where it a minimal example about two-thirds of the way down the first post on the page. Some of the code provided in the demonstration notebooks I reference below may help you with making one.)
Can you please confirm that version? The current release noted here is version 7.4.5. So you are either super outdated or noted the wrong version here? Why does it matter? If you go here to my animated plots binder demonstration repo, you’ll see that is currently set to run versions compatible with version 7+, and that I have another repo that I point to there for nbclassic and earlier versions of Jupyter Notebook. In short, the different tech needs you to install and invoke things differently. Ideally, you’d be using current tech; however, before you try that and possibly make things more difficult for yourself because you could break things that were working, you should try to troubleshoot with what you have.
And nbclassic which is to support the older, pre-v7 interface, is only on version 1.3.2 here and so that doesn’t explain things.
By the way, without touching your own system or signing up for anything, you can get a sense of several options to make animations by clicking the ‘launch binder’ badge next to ‘Jupyter Notebook 7+’ there. When that session comes up you can work through running the individual cells there one at a time to get a sense of what best matches up with what you need.
And if you need the older tech, you can try that link I referenced earlier that will take you here. I just checked and they seem to work for now.