Skip to content
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

Interpret plotly animations into the html #17

Open
JavierCladellas opened this issue Oct 8, 2024 · 0 comments
Open

Interpret plotly animations into the html #17

JavierCladellas opened this issue Oct 8, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@JavierCladellas
Copy link
Contributor

If a plotly figure contains frames, the %raw argument does not display the figure.
Although, currently the animation appears when %raw is not present. It would by useful when dynamically generating multiple figure/animation combinations.

A css workaround to make the animation appear like other figures (does not fix the %raw compatibility)

<style>
details>.title::before, details>.title::after {
    visibility: hidden;
}

#_solar_shading + .listingblock + details>.content>.dynamic-py-result>.content>pre {
    max-height: 100%;
    padding: 0;
    background-color: white;
}

#_solar_shading + details>.content>.dynamic-py-result>.content>pre {
    max-height: 100%;
    padding: 0;
    background-color: white;
}

</style>
@JavierCladellas JavierCladellas self-assigned this Oct 10, 2024
@JavierCladellas JavierCladellas added bug Something isn't working enhancement New feature or request and removed enhancement New feature or request labels Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant