Update Documentation for mo.tabs to mo.ui.tabs to Remove Deprecation Warning (in documentation)
Haleshot opened this issue · comments
Documentation is
- Missing
- Outdated
- Confusing
- Not sure?
Explain in Detail
Explain in Detail:
The documentation for the mo.tabs
UI element, as shown on the Marimo website here, is outdated. Currently, the code preview popup (on the docs website) displays a deprecation warning:
Caution
/tmp/marimo_42/__marimo__cell_MJUe__output.py:1: DeprecationWarning: mo.tabs is deprecated. Use mo.ui.tabs instead
This warning indicates that the mo.tabs
function is deprecated and should be replaced with mo.ui.tabs
. To ensure the documentation is up-to-date and users are not confused by deprecated functions, I suggest updating the code examples and references in the documentation to use mo.ui.tabs
.
I intend to submit a PR to address this issue by making the necessary updates to the documentation.
Your Suggestion for Changes
Update the instance of mo.tabs
to mo.ui.tabs
in the documentation preview here for the mo.tabs
UI element.