Skip to content

Format height for PerspectiveWidget #1462

Answered by sc1f
dhirschfeld asked this question in Q&A
Discussion options

You must be logged in to vote

I'll look into why the layout properties aren't being used by PerspectiveWidget - in the meantime you can use display and HTML:

from IPython import display, HTML
display(HTML("<style>perspective-viewer { height: 600px !important; }</style>"))

it's a little hacky but it's guaranteed to work.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sc1f
Comment options

Answer selected by dhirschfeld
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