dqa.connectors.exporter.PlotExporter2#

class dqa.connectors.exporter.PlotExporter2(y_name: str | List[str], x_name: str | List[str] | None = None, click_labels: str | List[str] | None = None, color_keys: str | List[str] | None = None, factors: List[float | str] | None = None, fmt: str | None = None, **kwargs)#

Exports data by plotting. This exporter can print extra information by clicking on the plot.

Parameters:
  • y_name (str or list of str) – Name of the data rows to represent the y coordinates in the plot.

  • x_name (str or list of str, default=None) – Name of the data rows to represent the x coordinates. If None, then a default range will be used.

  • click_labels (str or list of str, default=None) – Name of data rows containing labels that will be printed upon clicking on the corresponding points in the plot.

  • color_keys (str or list of str, default=None) – Name of a data row containing numbers that will be identified with colors in the output plot.

  • factors (list of str or float, default=None) – Factors to multiply the data with. If passed as floats, the values will be used directly. If passed as strings, the values will be taken from the corresponding data row.

  • fmt (str) – Format string for the plotted lines, one for all the rows to be plotted.

Methods

finish()

Can perform actions that are required to clean up after the task has finished, e.g. close network connections etc.

click

export_data_row

export_dataset

export_dataset_dict

export_machine

export_measurement

finish_export

in_out_default

input_output_dataset

input_output_machine

input_output_mode

input_output_name

log

map_coordinates

modify_data_row

modify_dataset

modify_dataset_dict

modify_machine

modify_measurement

plot_colored_lines

set_logging_level

start_export

transfer_metadata