fsleyes.actions.importdataseries¶
This module provides the ImportDataSeriesAction, which is used by
PlotPanel views to import data series from a text file.
-
class
fsleyes.actions.importdataseries.ImportDataSeriesAction(overlayList, displayCtx, plotPanel)[source]¶ Bases:
fsleyes.actions.base.Action-
__init__(overlayList, displayCtx, plotPanel)[source]¶ Create an
Action.Parameters: - overlayList – The
OverlayList. - displayCtx – The
DisplayContextassociated with thisAction; note that this is not necessarily the masterDisplayContext. - func – The action function.
- instance – Object associated with the function, if this
Actionis encapsulating an instance method. - name – Action name. Defaults to
func.__name__.
Note
If an
Actionencapsulates a method of anActionProviderinstance, it is assumed that thenameis the name of the method on the instance.- overlayList – The
-
_ImportDataSeriesAction__doImport()¶
-
__module__= 'fsleyes.actions.importdataseries'¶
-