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

Implement putting of matplotlib figures

    Details

    • Type: Improvement
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: daf_persistence
    • Labels:
      None
    • Templates:
    • Story Points:
      1
    • Sprint:
      DRP S18-6
    • Team:
      Data Release Production

      Description

      Make matplotlib figures {{butler.put()}}able.

      Jim Bosch says on Slack:
      > Basically, that involves grepping daf_persistence for FitsCatalogStorage, copying what you see and calling it MatplotlibStorage, and then adjusting it appropriately (i.e. call savefig instead of writeFits, raise an exception when trying to read).

      Paul Price notes that there are some gotchas involving the fact that the backend has to be set immediately after import, and this could prove tricky, especially if people want to combine this with pop-up style debug plots.. Some relevant info on this might be found in DM-14159.

        Attachments

          Activity

            People

            • Assignee:
              jbosch Jim Bosch
              Reporter:
              mfisherlevine Merlin Fisher-Levine
              Reviewers:
              Lauren MacArthur, Merlin Fisher-Levine, Michael Wood-Vasey
              Watchers:
              Jim Bosch, John Parejko, Lauren MacArthur, Merlin Fisher-Levine, Michael Wood-Vasey
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel