I think we may have a race condition still in creating/removing views
If a model is created, then creates a view, and then the comm dies before the view is actually loaded and created, the view is never registered with the model before the model tries to call .remove() on all its views.
The problem is that the view registers itself with the model (appends itself to this.model.views) when it is created. Before then, the model doesn't know about it.
So the model doesn't know about the view until it is actually created. I think it would be better for the widget manager to store a promise for the view with the model right off. Then the model can remove any views or promised views. In other words, the model knows about the view as soon as it is requested, instead of as soon as it is created.
hi all - I just got drafted to give a 30-45 minute introduction to IPython in two weeks as part of an astrocomputing seminar in my department. I'm curious whether there are any sources I can pull from besides the docs and the example notebooks.