From 63ffe9baf888e6b8237fddce74266268d39145cd Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 16 Apr 2014 16:18:26 -0500 Subject: [PATCH] Option to pass scatter kwargs to artists created by the LMA controller --- LMA/controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LMA/controller.py b/LMA/controller.py index 308e8cb..83c9d19 100644 --- a/LMA/controller.py +++ b/LMA/controller.py @@ -175,9 +175,9 @@ def read_hdf5(self, LMAfileHDF): return d - def load_hdf5_to_panels(self, panels, LMAfileHDF): + def load_hdf5_to_panels(self, panels, LMAfileHDF, scatter_kwargs={}): d = self.read_hdf5(LMAfileHDF) - post_filter_brancher, scatter_ctrl = self.pipeline_for_dataset(d, panels) + post_filter_brancher, scatter_ctrl = self.pipeline_for_dataset(d, panels, scatter_kwargs=scatter_kwargs) branch_to_scatter_artists = scatter_ctrl.branchpoint charge_lasso = LassoChargeController( target=ItemModifier(