Skip to content

Docstrings for 1.50.0#12605

Merged
sfc-gh-dmatthews merged 13 commits intodevelopfrom
docs/1.50.0
Sep 23, 2025
Merged

Docstrings for 1.50.0#12605
sfc-gh-dmatthews merged 13 commits intodevelopfrom
docs/1.50.0

Conversation

@sfc-gh-dmatthews
Copy link
Copy Markdown
Contributor

Describe your changes

Update docstrings for 1.50.0

  • MultiselectColumn
  • Hosted font configuration options
  • Default st.tabs
  • Table borders
  • Vega chart height and width
  • Graphviz height and width
  • Basic color palette theming configuration
  • Bar chart sort parameter
  • Audio input sample rate
  • Empty section labels in top navigation
  • Chart column colors

GitHub Issue Link (if applicable)

Testing Plan

n/a docstrings only

  • Explanation of why no additional tests are needed
  • Unit Tests (JS and/or Python)
  • E2E Tests
  • Any manual testing needed?

Contribution License Agreement

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

@snyk-io
Copy link
Copy Markdown
Contributor

snyk-io bot commented Sep 23, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@sfc-gh-dmatthews sfc-gh-dmatthews added security-assessment-completed impact:internal PR changes only affect internal code change:docs PR contains documentation change labels Sep 23, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 23, 2025

✅ PR preview is ready!

Name Link
📦 Wheel file https://core-previews.s3-us-west-2.amazonaws.com/pr-12605/streamlit-1.49.1-py3-none-any.whl
🕹️ Preview app pr-12605.streamlit.app (☁️ Deploy here if not accessible)

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates docstrings across Streamlit components for version 1.50.0, focusing on improving clarity, consistency, and adding new feature documentation.

Key changes include:

  • Repositioned deprecation warnings to appear directly after parameter descriptions for better readability
  • Enhanced documentation for MultiselectColumn with expanded color options and usage examples
  • Updated various component docstrings with improved formatting and clearer descriptions

Reviewed Changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 18 comments.

Show a summary per file
File Description
lib/streamlit/elements/widgets/data_editor.py Moved deprecation warning for use_container_width parameter to follow the parameter description
lib/streamlit/elements/widgets/button.py Repositioned deprecation warnings for all button components (button, download_button, link_button, page_link)
lib/streamlit/elements/widgets/audio_input.py Enhanced sample rate documentation and added new examples for different quality recordings
lib/streamlit/elements/vega_charts.py Updated width/height parameter descriptions and improved bar chart sort documentation
lib/streamlit/elements/pyplot.py Moved deprecation warning after parameter description
lib/streamlit/elements/plotly_chart.py Updated deprecation message format
lib/streamlit/elements/lib/column_types.py Comprehensive updates to column types including width distribution info, enhanced color documentation for chart columns, and expanded MultiselectColumn documentation
lib/streamlit/elements/layouts.py Enhanced tabs documentation with new examples and default parameter clarification
lib/streamlit/elements/image.py Moved deprecation warning for use_column_width parameter
lib/streamlit/elements/graphviz_chart.py Updated height parameter description and moved deprecation warning
lib/streamlit/elements/form.py Moved deprecation warning for form_submit_button
lib/streamlit/elements/deck_gl_json_chart.py Minor formatting fix
lib/streamlit/elements/arrow.py Updated table borders documentation and moved deprecation warning
lib/streamlit/config.py Improved theme color configuration descriptions and added hosted font configuration options
lib/streamlit/commands/navigation.py Added documentation for empty section labels in top navigation

@sfc-gh-dmatthews sfc-gh-dmatthews merged commit af7db92 into develop Sep 23, 2025
37 checks passed
@sfc-gh-dmatthews sfc-gh-dmatthews deleted the docs/1.50.0 branch September 23, 2025 17:34
github-actions bot pushed a commit that referenced this pull request Sep 23, 2025
## Describe your changes
Update docstrings for 1.50.0

* MultiselectColumn
* Hosted font configuration options
* Default st.tabs
* Table borders
* Vega chart height and width
* Graphviz height and width
* Basic color palette theming configuration
* Bar chart sort parameter
* Audio input sample rate
* Empty section labels in top navigation
* Chart column colors

## GitHub Issue Link (if applicable)

## Testing Plan
n/a docstrings only

- Explanation of why no additional tests are needed
- Unit Tests (JS and/or Python)
- E2E Tests
- Any manual testing needed?

---

**Contribution License Agreement**

By submitting this pull request you agree that all contributions to this
project are made under the Apache 2.0 license.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change:docs PR contains documentation change impact:internal PR changes only affect internal code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants