Skip to content

Fixes plotly css issues#2486

Merged
dawoodkhan82 merged 3 commits into
mainfrom
dawood/1692
Oct 24, 2022
Merged

Fixes plotly css issues#2486
dawoodkhan82 merged 3 commits into
mainfrom
dawood/1692

Conversation

@dawoodkhan82
Copy link
Copy Markdown
Collaborator

@dawoodkhan82 dawoodkhan82 commented Oct 18, 2022

Description

Fixes issue where plotly animations, interactivity, titles, legends, were not working properly.

Screen.Recording.2022-10-18.at.10.18.45.AM.mov
Screen.Recording.2022-10-18.at.10.23.38.AM.mov

Please include:

  • relevant motivation
  • a summary of the change
  • which issue is fixed.
  • any additional dependencies that are required for this change.

Closes: #1692

Checklist:

  • I have performed a self-review of my own code
  • I have added a short summary of my change to the CHANGELOG.md
  • My code follows the style guidelines of this project
  • I have commented my code in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

A note about the CHANGELOG

Hello 👋 and thank you for contributing to Gradio!

All pull requests must update the change log located in CHANGELOG.md, unless the pull request is labeled with the "no-changelog-update" label.

Please add a brief summary of the change to the Upcoming Release > Full Changelog section of the CHANGELOG.md file and include
a link to the PR (formatted in markdown) and a link to your github profile (if you like). For example, "* Added a cool new feature by [@myusername](link-to-your-github-profile) in [PR 11111](https://github.com/gradio-app/gradio/pull/11111)".

If you would like to elaborate on your change further, feel free to include a longer explanation in the other sections.
If you would like an image/gif/video showcasing your feature, it may be best to edit the CHANGELOG file using the
GitHub web UI since that lets you upload files directly via drag-and-drop.

@github-actions
Copy link
Copy Markdown
Contributor

All the demos for this PR have been deployed at https://huggingface.co/spaces/gradio-pr-deploys/pr-2486-all-demos

Copy link
Copy Markdown
Collaborator

@freddyaboulton freddyaboulton left a comment

Choose a reason for hiding this comment

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

Thanks for the awesome fix @dawoodkhan82 ! Confirmed it works on outbreak_forecast and blocks_multiple_event_triggers!

Copy link
Copy Markdown
Member

@pngwn pngwn left a comment

Choose a reason for hiding this comment

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

lgtm!

Comment thread ui/packages/plot/src/Plot.svelte
@dawoodkhan82 dawoodkhan82 merged commit 834d945 into main Oct 24, 2022
@dawoodkhan82 dawoodkhan82 deleted the dawood/1692 branch October 24, 2022 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ploty sliders and animation controls not displayed + Plotly legend/title not displayed

3 participants