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 DisplayContext associated with this Action; note that this is not necessarily the master DisplayContext.
  • func – The action function.
  • instance – Object associated with the function, if this Action is encapsulating an instance method.
  • name – Action name. Defaults to func.__name__.

Note

If an Action encapsulates a method of an ActionProvider instance, it is assumed that the name is the name of the method on the instance.

_ImportDataSeriesAction__doImport()
__module__ = 'fsleyes.actions.importdataseries'