Integrate coloured draw_tree visuals including on OpenSpiel notebook#719
Merged
edwardchalstrey1 merged 8 commits intomasterfrom Jan 7, 2026
Merged
Integrate coloured draw_tree visuals including on OpenSpiel notebook#719edwardchalstrey1 merged 8 commits intomasterfrom
edwardchalstrey1 merged 8 commits intomasterfrom
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Member
Author
|
The image renders very small on the doc so I will leave this as a draft and revisit in the new year: https://gambitproject--719.org.readthedocs.build/en/719/tutorials/interoperability_tutorials/openspiel.html Edit: Though the user has to zoom in, we decided this is acceptable for the rendered doc |
Member
Author
|
TODO:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issues closed by this PR
Description of the changes in this PR
This PR updates the
draw_treeversion to0.3.1where I have made changes that make sensible visualisation of the "Tiny Hanabi" game from the OpenSpiel notebook possible. A key new feature is colouring the extensive form tree by players, using a colour scheme similar to the Gambit GUI for now (which we can easily modify) and a legend, which de-clutters larger games substantially. I also updated stripped down poker to use the new colour scheme (didn't really add much to trust game in tutorial 2 so I haven't added it there).How to review this PR