Skip to content

Conversation

@sfc-gh-lwilby
Copy link
Collaborator

@sfc-gh-lwilby sfc-gh-lwilby commented Aug 22, 2025

Describe your changes

This PR is part of the [AdvancedLayouts] project and introduces a new height parameter to the st.graphviz_chart.

This PR also begins the process of deprecating use_container_width. The default is updated to None, and width will be used instead. If the user explicitly passes a value for use_container_width then that will take precedence. use_container_width=True is equivalent to width="stretch" and use_container_width=False is equivalent to width="content". The user will be given a warning and suggestion to use width instead. We will remove use_container_width after 12-31-2025`.

GitHub Issue Link (if applicable)

Testing Plan

  • Unit Tests (JS and/or Python) ✅
  • E2E Tests ✅
  • Manual Safari testing of height="stretch"

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
Contributor

snyk-io bot commented Aug 22, 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)

@github-actions
Copy link
Contributor

github-actions bot commented Aug 22, 2025

✅ PR preview is ready!

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

@sfc-gh-lwilby sfc-gh-lwilby added security-assessment-completed Security assessment has been completed for PR change:feature PR contains new feature or enhancement implementation impact:users PR changes affect end users labels Aug 22, 2025
@sfc-gh-lwilby sfc-gh-lwilby force-pushed the feature/add-height-to-graphviz-chart branch from aef93cb to 4d2b54b Compare August 27, 2025 22:08
@sfc-gh-lwilby sfc-gh-lwilby added the autofix If applied to PR we run autofix workflow and provide fixes via new PR label Sep 10, 2025
@github-actions github-actions bot removed the autofix If applied to PR we run autofix workflow and provide fixes via new PR label Sep 10, 2025
@sfc-gh-lwilby sfc-gh-lwilby changed the title [WIP][AdvancedLayouts] Add height param to st.graphviz_chart [AdvancedLayouts] Add height param to st.graphviz_chart Sep 12, 2025
@sfc-gh-lwilby sfc-gh-lwilby marked this pull request as ready for review September 12, 2025 17:22
Apply suggested changes
Apply suggested changes
@sfc-gh-lwilby sfc-gh-lwilby merged commit a3f2549 into develop Sep 17, 2025
37 of 38 checks passed
@sfc-gh-lwilby sfc-gh-lwilby deleted the feature/add-height-to-graphviz-chart branch September 17, 2025 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change:feature PR contains new feature or enhancement implementation impact:users PR changes affect end users security-assessment-completed Security assessment has been completed for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants