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

docs: update sankey diagram #9077

Merged
merged 5 commits into from
Apr 29, 2024
Merged

docs: update sankey diagram #9077

merged 5 commits into from
Apr 29, 2024

Conversation

lostmygithubaccount
Copy link
Member

Description of changes

this started as trying to get dynamic light/dark mode for plotting (with the sankey diagram, but any) working with Quarto. I still couldn't figure it out. there's definitely a path that's like save both versions of the image and use JavaScript to dynamically load the right one. another option, if we could get the HTML for the page in Python, would be to use that

so anyway, this actually just updates the sankey diagram to put it in a funciton to choose light/dark mode, minor code improvements, and improving the colors

one suggestion from Jim was simplifying the cateogires and I agree, so now it's just SQL/DataFrame

Issues closed

@lostmygithubaccount lostmygithubaccount marked this pull request as draft April 29, 2024 17:30
@lostmygithubaccount
Copy link
Member Author

don't like the PNG, let me play with that

@lostmygithubaccount lostmygithubaccount marked this pull request as ready for review April 29, 2024 17:39
@lostmygithubaccount lostmygithubaccount added docs Documentation related issues or PRs docs-preview Add this label to trigger a docs preview labels Apr 29, 2024
@ibis-docs-bot ibis-docs-bot bot removed the docs-preview Add this label to trigger a docs preview label Apr 29, 2024
@lostmygithubaccount
Copy link
Member Author

I like the colors and change to 2 categories, but it's way harder to read. going back to draft mode

@lostmygithubaccount lostmygithubaccount marked this pull request as draft April 29, 2024 17:46
@lostmygithubaccount lostmygithubaccount added the docs-preview Add this label to trigger a docs preview label Apr 29, 2024
@lostmygithubaccount
Copy link
Member Author

it's better now IMO

@lostmygithubaccount lostmygithubaccount marked this pull request as ready for review April 29, 2024 17:51
@ibis-docs-bot ibis-docs-bot bot removed the docs-preview Add this label to trigger a docs preview label Apr 29, 2024
Copy link
Member

@jcrist jcrist left a comment

Choose a reason for hiding this comment

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

This looks great, nice work.

docs/backends_sankey.py Outdated Show resolved Hide resolved
@lostmygithubaccount lostmygithubaccount enabled auto-merge (squash) April 29, 2024 18:02
@ibis-docs-bot
Copy link

ibis-docs-bot bot commented Apr 29, 2024

@lostmygithubaccount lostmygithubaccount merged commit b691959 into ibis-project:main Apr 29, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation related issues or PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants