Details
-
Type:
Story
-
Status: Won't Fix
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Epic Link:
-
Sprint:DRP S21a (Dec Jan), DRP S21b
-
Team:Data Release Production
-
Urgent?:No
Description
To make the plots from gen 2 pipe_analysis in analysis_drp we need to be able to sub select the points differently for each plot. Make a way to do this.
Just a quick thought: how about having an ABC for annotating points (or different ABCs for different kinds of plots, if appropriate), which would be given the catalog and columns used to make the plot and maybe act on the figure object. The main plotting code could be given maybe an list of instances of these, and call an abstract method or two on each of them. We could initialize that list from a multi-select RegistryField in the configs.
I'm not sure about any of the details in that paragraph - but I would like to find a solution that would let us add new kinds of annotations to specific plot realizations without either editing the main plotting code or inheriting from it (the latter because that would lead to a big multiple-inheritance mess if we ever want to start annotating more than one subset).