marimo-team / marimo

A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git.
https://marimo.io
Apache License 2.0
5.35k stars 156 forks source link

Update Documentation for mo.tabs to mo.ui.tabs to Remove Deprecation Warning (in documentation) #1636

Closed Haleshot closed 2 weeks ago

Haleshot commented 2 weeks ago

Documentation is

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/marimocell_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.