Skip to content

Width of Visualization in form card #1970

Answered by mturoci
n-srinidhi asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, correct. The ui.visualization plot tries to render so that it fills the entire parent container if it doesn't have dimensions specified. Since you initially start with visible=False, the container has no dimensions (0), so plot is not rendered (or very small). I advise rendering plots visible and when needed rather than initially unvisible.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@n-srinidhi
Comment options

@mturoci
Comment options

@n-srinidhi
Comment options

@mturoci
Comment options

Answer selected by n-srinidhi
@n-srinidhi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants