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

Overlay for RDM plot #355

Merged
merged 41 commits into from
Nov 3, 2023
Merged

Overlay for RDM plot #355

merged 41 commits into from
Nov 3, 2023

Conversation

JasperVanDenBosch
Copy link
Contributor

@JasperVanDenBosch JasperVanDenBosch commented Oct 14, 2023

resolves #341

goals

  • refactor current code
  • implement overlay
  • implement contour
  • contour: multiple clusters
  • Option to only apply to lower triangle

wishlist / delay

  • refactoring: merge overlap between single and multi
  • OOP access for all properties
  • OOP init for single rdm plot
  • Suptitle for show_rdms #351

also look into

@JasperVanDenBosch
Copy link
Contributor Author

Ready for review. There's room for improvement here, mostly refactoring to remove duplication, and make the plots fully functional for OOP access. I suggest we file these for later.

Here's a preview of the new demo: https://rsatoolbox--355.org.readthedocs.build/en/355/demo_annotated_rdm_plot.html

@JasperVanDenBosch JasperVanDenBosch marked this pull request as ready for review October 31, 2023 12:57
@JasperVanDenBosch
Copy link
Contributor Author

JasperVanDenBosch commented Nov 1, 2023

@HeikoSchuett when you have a chance can you have a look at the approach I took in rdm_plot? The idea is to separate the pure matplotlib stuff from our own logic in order to make it more maintainable. The existing interface with optional arguments is supported, as well as some work on a new object-based way to build the plots. If you're happy I think this is ready to merge

@JasperVanDenBosch JasperVanDenBosch merged commit 45a79c1 into main Nov 3, 2023
17 checks passed
@JasperVanDenBosch JasperVanDenBosch deleted the rdm-plot-overlay branch November 3, 2023 15:17
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.

RDM plot overlay or highlight
1 participant