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
PLT - Aggregate similar solvers in legend #474
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## main #474 +/- ##
=======================================
Coverage 54.40% 54.40%
=======================================
Files 43 43
Lines 2814 2814
Branches 516 516
=======================================
Hits 1531 1531
Misses 1168 1168
Partials 115 115 |
Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com>
…egate-solver-legend
…FAD/benchopt into aggregate-solver-legend
@tomMoral, I uploaded the feature preview instead. |
@tomMoral, I considered your remarks in the last changes |
I think it is better to keep the group structure to preserve homogeneity. Otherwise, the result looks a bit weird (see the Lasso benchmark in #474) |
I managed to restrict the aggregation only for solvers that are run with multiple configurations of parameters |
Actually, I preferred the last version with one block per solver, even with a single configuration. What disturbs me is that the solvers should be represented in the same way in the legend, and this is not the case here in my opinion. |
WDYT @tomMoral? |
I agree that we should find a consistent way to do this but I don't like the fact that we have to scroll to have the full legend, even when all legend labels could be put on 2/3 lines. This is something we changed 6 months ago so it feels that we are going back. Maybe simply make the parent block also a float, that do not take the full screen. That way, solvers with one config will jsut have an extra gray box above with the name of the solver and multiple solver will have a box around grouping them together? Something like |
WDYT @tomMoral ? links to preview: |
@bmalezieux any thoughts about #474 (comment)? |
It looks good ! I think it would be even better to add the name of the solver above solo solvers (it is what Thomas meant if I understand the drawing correctly). |
Yes I like the style!! :) |
By the way, I find it clearer to put the style in the css file rather than in the class name. |
This reverts commit a03b46f.
…egate-solver-legend
I'm afraid it won't be possible @tomMoral. Instead, as discussed with @bmalezieux, I made the aggregate of the solver grayish when it's disabled. Links to to preview: |
…egate-solver-legend
I'm late to the party, but instead of graying the unselected solvers, would it be possible to collapse the unselected block, displaying only its title ? If there are many solver sin a block and they're unselected, one still has to croll a lot to go to the next block |
This enhances the plotting part:
Feature preview
next step
P.S: similar solvers means the same solver run with different parameters