It gives us a way to configure the plots, and keep track of which configuration was used for each plot. Basically it give us the provenance tracking & reproducibility.
_make_plot(self, cat)
function only take one argument, namely the input catalog, but the function the user sees __call__(self, cat, **kwargs)
takes any number of argument through the **kwargs
mechanism. Why is this useful?This give us a way to latch and store the configuration used to make the plot.
PlotConfig
class?It gives us a way to associated a name for a plot with a Plotter
subclass and some configuration parameters.
PlotCollection
class?It gives use a top-level thing to talk to, which keeps track of all the plots we have.
We stuck them in a single file, to make it easy to find them.
Well, I’m pretty happy with it.