You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ENH ascii visualisation for metadata routing - #31535
I've already gotten a demonstration, and had expressed by appreciation. I think that will be very useful. Now I have some suggestions:
Is it possible to make that colourful? Maybe colours could even be used instead of ✓, ✗, ⛔, ⚠, it it is somehow possible to kind of force a colourful terminal output, also if users don't use shells like zsh?
I am not sure about ⛔, since it is the most pointy and colourful symbol just means: implicitly not requested (set_fit_request(metadata=None)). But from the symbol it looks a bit like explicitly not requested (set_fit_request(metadata=False)).
I also wonder if ✓, ✗, ⛔, ⚠ are safe to be used for any users or if they could look cryptic for some users? These are ascii and thus available for any user?
Legend: yes, it should have a small one, and a link to a page in the docs where things are better explained.
Filtering: yep, easy to implement, and makes sense to have.
Symbols: I'm happy to have alternative suggestions for symbols, and I'll try to improve what we have. The ⛔ sign is pretty nice since it's the only case where it results in an actual error. But I'm also not happy with these signs and what users understand intuitively from them.
Colors: This one is very tricky and I rather not have it to start with. It's relatively easy to have colors in a white background with black font color, but terminals have all sorts of color themes. Mine is green on black, others have white/bright gray on black/dark gray, some use the black on white, etc. Having a color setting for all of them which works and is easily visible to a half colorblind person like me is pretty tricky. So I usually tend to avoid colors in my own work. But I'd be happy to review such suggestions in another PR.
Symbols: I'm happy to have alternative suggestions for symbols, and I'll try to improve what we have.
I am not really sure which symbols we can pick from? I have found this list on all 256 ascii codes, but it seems the ones used here are not among them?
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
Metadata Routingall issues related to metadata routing, slep006, sample props
4 participants
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.
Adding visualisation for metadata routing.
Right now it gives such output: