Plots

It used used to create different plots.

DIRAC.Core.Utilities.Plotting.Plots.checkMetadata(metadata)

:param dict metadata it contains information which will used in the plot creation.

DIRAC.Core.Utilities.Plotting.Plots.generateCumulativePlot(fileName, data, metadata)

It is used to create cumulativ plots. :param str fileName the name of the file :param list data the data which is used to create the plot :param dict metadata extra information used to create the plot.

DIRAC.Core.Utilities.Plotting.Plots.generateErrorMessagePlot(msgText)

It creates a plot whith a specific error message :param str msgText the text which will appear on the plot. :return the plot.

DIRAC.Core.Utilities.Plotting.Plots.generateNoDataPlot(fileName, data, metadata)

Tis generate an image with a specific error message. :param str fileName name of the file :param list data data :param dict metadata metadata information

DIRAC.Core.Utilities.Plotting.Plots.generatePiePlot(fileName, data, metadata)

It is used to create pie charts. :param str fileName the nanme of the file :param list data the data which is used to create the plot :param dict metadata extra information used to create the plot.

DIRAC.Core.Utilities.Plotting.Plots.generateQualityPlot(fileName, data, metadata)

It is used to create 2D plots.

:param str fileName the name of the file :param list data the data which is used to create the plot :param dict metadata extra information used to create the plot.

DIRAC.Core.Utilities.Plotting.Plots.generateStackedLinePlot(fileName, data, metadata)

It is used to create stacked line plot. :param str fileName the name of the file :param list data the data which is used to create the plot :param dict metadata extra information used to create the plot.

DIRAC.Core.Utilities.Plotting.Plots.generateTimedStackedBarPlot(fileName, data, metadata)

It is used to create a time based line plot. :param str fileName the name of the file :param list data the data which is used to create the plot :param dict metadata extra information used to create the plot.