Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-28430

Add a way to have plot specific flag selection.

    XMLWordPrintable

Details

    • Story
    • Status: Won't Fix
    • Resolution: Done
    • None
    • None
    • None
    • DRP S21a (Dec Jan), DRP S21b
    • Data Release Production
    • 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.

      Attachments

        Activity

          jbosch Jim Bosch added a comment -

          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).

          jbosch Jim Bosch added a comment - 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).
          sophiereed Sophie Reed added a comment -

          Done as part of DM-28151

          sophiereed Sophie Reed added a comment - Done as part of DM-28151

          People

            sophiereed Sophie Reed
            sophiereed Sophie Reed
            Jim Bosch, Lauren MacArthur, Nate Lust, Sophie Reed, Yusra AlSayyad
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Jenkins

                No builds found.