Details

    • Type: Epic
    • Status: Closed
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Component/s: Plotting
    • Labels:
      None
    • Epic Name:
      Plotting architecture

      Description

      There are a large number of bugs and improvements in JIRA (and some more probably in TRAC) which are related to plotting. Fixing these is difficult because of the current architecture and lack of unit tests. (The unit test coverage for plotting is below 20%)

        Issues in Epic

          Activity

          Show
          duncan.watson-parris@physics.ox.ac.uk Duncan Watson-Parris added a comment - Work started on https://github.com/cedadev/cis/tree/switch_out_pylab
          Hide
          duncan.watson-parris@physics.ox.ac.uk Duncan Watson-Parris added a comment -
          I'm still working on the design. Currently I'm thinking something like this:

          Plotter(type, height, width, output...?)

          Formatter(xmin,xmax, labels, titles,...)

          GenericPlot(data, ax, xaxis, yaxis)

          Then Plotter calls Formatter() on a (Plot or ax?) <- This depends on wether the Formatter applies to a single layer, or multiple...
          Show
          duncan.watson-parris@physics.ox.ac.uk Duncan Watson-Parris added a comment - I'm still working on the design. Currently I'm thinking something like this: Plotter(type, height, width, output...?) Formatter(xmin,xmax, labels, titles,...) GenericPlot(data, ax, xaxis, yaxis) Then Plotter calls Formatter() on a (Plot or ax?) <- This depends on wether the Formatter applies to a single layer, or multiple...
          Hide
          duncan.watson-parris@physics.ox.ac.uk Duncan Watson-Parris added a comment -
          Maybe think about the visitor pattern?
          Show
          duncan.watson-parris@physics.ox.ac.uk Duncan Watson-Parris added a comment - Maybe think about the visitor pattern?
          Hide
          duncan.watson-parris@physics.ox.ac.uk Duncan Watson-Parris added a comment -
          Fixed in 1.5
          Show
          duncan.watson-parris@physics.ox.ac.uk Duncan Watson-Parris added a comment - Fixed in 1.5

            People

            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 weeks, 1 day, 1 hour, 36 minutes
                3w 1d 1h 36m
                Remaining:
                Remaining Estimate - 3 weeks, 1 day, 1 hour, 36 minutes
                3w 1d 1h 36m
                Logged:
                Time Spent - Not Specified
                Not Specified