Skip to content

Commit 5eff00d

Browse files
committed
Small cleanups to migration docs
1 parent 7e76c8e commit 5eff00d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docs/source/migration_guides.md

-2
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,6 @@ The version of [Backbone.js](https://backbonejs.org/) that ipywidgets depends on
164164
+ }
165165
```
166166

167-
Note: If you were relying on setting certain instance attributes via the `extend` method, you might now need override the `preinitialize` method in order for their values to be set in time.
168-
169167
#### Custom tag names
170168

171169
If you were changing the base HTML tag for your widget by defining the `tagName` property, this can now be done in ipywidgets 8 in the `preinitialize` method (see https://github.com/jupyter-widgets/ipywidgets/commit/a342e0dbc7c779bb668e5a21c097d7cec9a6ac44 for example changes in core widgets):

docs/source/user_migration_guides.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ As part of an effort to make it possible to
3333
the old `description_tooltip` attribute for certain widgets was deprecated. Now all widgets
3434
that inherit `DOMWidget` have the attribute `tooltip` instead.
3535

36-
Suggested migration: Search and replace `description_tooltip` to `tooltip`.
36+
Suggested migration: Search and replace `description_tooltip` to `tooltip` when you no longer
37+
need to support ipywidgets 7.
3738

3839
#### Selection Widgets
3940

0 commit comments

Comments
 (0)