cytoflowgui.export_task#

The pyface.tasks task that exports a figure.

ExportPane – the pyface.tasks.traits_dock_pane.TraitsDockPane to determine the width and height of the exported figure.

ExportTaskPane – the central pane of the task, shows the plot.

ExportTask – the pyface.tasks.task.Task to export a figure.

ExportFigurePlugin – the envisage envisage.plugin.Plugin that wraps ExportTask.

class cytoflowgui.export_task.ExportPane(*args, **kwargs)[source]#

Bases: TraitsDockPane

Determine the width and height of the exported figure.

id = 'cytoflowgui.export_pane'#
name = 'Export'#
task = <traits.trait_types.Instance object>#
closable = False#
dock_area = 'right'#
floatable = False#
movable = False#
visible = True#
default_traits_view()[source]#
create_contents(parent)[source]#

Create and return the toolkit-specific contents of the dock pane.

class cytoflowgui.export_task.ExportTaskPane(*args, **kwargs)[source]#

Bases: Unimplemented

The center pane for the UI; contains the matplotlib canvas for plotting data views.

id = 'cytoflow.export_task_pane'#
name = 'Cytometry Data Viewer'#
model = <traits.trait_types.Instance object>#

The shared LocalWorkflow model

handler = <traits.trait_types.Instance object>#

The shared WorkflowController

layout = <traits.trait_types.Instance object>#

The center window’s layout

canvas = <traits.trait_types.Instance object>#

The shared canvas, an instance of FigureCanvasQTAggLocal

create(parent)[source]#

Create a layout for the tab widget and the main view

activate()[source]#
class cytoflowgui.export_task.ExportTask[source]#

Bases: Task

classdocs

menu_bar#

The menu bar schema

model#

The shared LocalWorkflow model

handler#

The shared WorkflowController

params_pane#

Plot parameters pane

export_pane#

Pane with size, DPI and buttons

width#

Width, in inches

height#

Height, in inches

dpi#

Resolution, in dots per inch

create_central_pane()[source]#

Create and return the central pane, which must implement ITaskPane.

create_dock_panes()[source]#

Create and return the task’s dock panes (IDockPane instances).

This method is called after create_central_pane() when the task is added to a TaskWindow.

activated()[source]#

Called after the task has been activated in a TaskWindow. Places the shared canvas in the center pane’s layout.

activate_cytoflow_task(_)[source]#

Switch to the FlowTask task

on_export(_)[source]#

Shows a dialog to export a file

class cytoflowgui.export_task.ExportFigurePlugin[source]#

Bases: Plugin

An Envisage plugin wrapping ExportTask

TASKS = 'envisage.ui.tasks.tasks'#