Skip to content

Update set_page_config snippet #768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 27, 2023
Merged

Update set_page_config snippet #768

merged 1 commit into from
Jul 27, 2023

Conversation

evandiewald
Copy link
Contributor

Reflect most up-to-date usage.

📚 Context

The st.set_page_config function in the current version of streamlit uses page_title and page_icon, rather than title and favicon.

🧠 Description of Changes

Changed the argument names in the snippet to reflect usage as of v1.25.0.

Revised:

See commit.

Current:

See commit.

💥 Impact

Very small, but will save a quick error for some too lazy to read the dedicated reference for the function 😄 .

Size:

  • [x ] Small
  • Not small

🌐 References

n/a

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

Reflect most up-to-date usage.
Copy link
Contributor

@snehankekre snehankekre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @evandiewald!

@snehankekre snehankekre merged commit 20c442b into streamlit:main Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants