diff --git a/conda/js/test/test_plotters.json b/conda/js/test/test_plotters.json new file mode 100644 index 0000000000000000000000000000000000000000..e77da6e8f7cb37d84b4a0c6fa9bc30bc1a8c4f7a --- /dev/null +++ b/conda/js/test/test_plotters.json @@ -0,0 +1,341 @@ +[ + { + "name": "plot/bar/1", + "contents": { + "description": "Basic bar plotter for simple histograms", + "language": "python", + "parameters": { + "axis-fontsize": { + "default": 10, + "description": "Controls the axis font size (labels and values)", + "type": "uint16" + }, + "bar-alpha": { + "default": 0.75, + "description": "Value for the alpha effect in the bar plot", + "type": "float64" + }, + "bar-norm": { + "default": true, + "description": "If set to true will normalize the distribution between 0-1", + "type": "bool" + }, + "bar_attributes": { + "default": "", + "description": "Bar attributes passed directly to Matplotlib", + "type": "string" + }, + "content_type": { + "choice": [ + "image/png", + "image/jpeg", + "application/pdf" + ], + "default": "image/png", + "description": "The type of image returned", + "type": "string" + }, + "dpi": { + "default": 60, + "description": "Dots-per-inch in raster image formats", + "type": "uint16" + }, + "grid": { + "default": false, + "description": "If we should draw grid lines or not for the plot", + "type": "bool" + }, + "height": { + "default": 300, + "description": "Height of the resulting image in pixels", + "type": "uint16" + }, + "legend": { + "default": "", + "description": "Short description of the data, to be added to the plot", + "type": "string" + }, + "legend-bbox-to-anchor": { + "default": "1.0&1.0", + "description": "Specify any arbitrary location for the legend ", + "type": "string" + }, + "legend-fontsize": { + "default": 12, + "description": "Controls the font size of the legend", + "type": "uint16" + }, + "legend-loc": { + "default": "best", + "description": "The location of the legend", + "type": "string" + }, + "title": { + "default": "Bar plot", + "description": "The title for this plot", + "type": "string" + }, + "title-fontsize": { + "default": 10, + "description": "Controls the title font size", + "type": "uint16" + }, + "width": { + "default": 400, + "description": "Width of the resulting image in pixels", + "type": "uint16" + }, + "xaxis_multiplier": { + "default": 1, + "description": "The multiplication factor for the X-axis (horizontal)", + "type": "float64" + }, + "xlabel": { + "default": "", + "description": "The label of the X-axis (horizontal)", + "type": "string" + }, + "yaxis_log": { + "default": false, + "description": "If Y-axis (vertical) should be in log-scale", + "type": "bool" + }, + "yaxis_multiplier": { + "default": 1, + "description": "The multiplication factor for the Y-axis (vertical)", + "type": "float64" + }, + "ylabel": { + "default": "", + "description": "The label of the Y-axis (vertical)", + "type": "string" + } + }, + "dataformat": "plot/bar/1", + "uses": { + "baselib": "plot/baselib/1" + } + } + }, + { + "name": "plot/isoroc/1", + "contents": { + "description": "ROC/DET plotter following the ISO/IEC 19795-1:2006(E) standard", + "language": "python", + "parameters": { + "axis-fontsize": { + "default": 10, + "description": "Controls the axis font size (labels and values)", + "type": "uint16" + }, + "content_type": { + "choice": [ + "image/png", + "image/jpeg", + "application/pdf" + ], + "default": "image/png", + "description": "The type of image returned", + "type": "string" + }, + "det": { + "default": false, + "description": "If set, plot a DET curve instead of a ROC", + "type": "bool" + }, + "dpi": { + "default": 60, + "description": "Dots-per-inch in raster image formats", + "type": "uint16" + }, + "grid": { + "default": true, + "description": "If we should draw grid lines or not for the plot", + "type": "bool" + }, + "height": { + "default": 300, + "description": "Height of the resulting image in pixels", + "type": "uint16" + }, + "legend": { + "default": "", + "description": "Short description of the data, to be added to the plot", + "type": "string" + }, + "legend-fontsize": { + "default": 12, + "description": "Controls the font size of the legend", + "type": "uint16" + }, + "legend-loc": { + "default": "best", + "description": "The location of the legend", + "type": "string" + }, + "line_attributes": { + "default": "", + "description": "Scatter/Line attributes passed directly to Matplotlib", + "type": "string" + }, + "title": { + "default": "ISO/IEC 19795-1:2006(E) ROC", + "description": "The title for this plot", + "type": "string" + }, + "title-fontsize": { + "default": 10, + "description": "Controls the title font size", + "type": "uint16" + }, + "width": { + "default": 400, + "description": "Width of the resulting image in pixels", + "type": "uint16" + }, + "xaxis_log": { + "default": false, + "description": "If X-axis (horizontal) should be in log-scale", + "type": "bool" + }, + "xaxis_multiplier": { + "default": "100.0", + "description": "The multiplication factor for the X-axis (horizontal)", + "type": "float64" + }, + "xlabel": { + "default": "False Positives (False Match Rate), in %", + "description": "The label of the X-axis (horizontal)", + "type": "string" + }, + "xlim-left": { + "default": "0.0", + "description": "", + "type": "float64" + }, + "xlim-right": { + "default": "100.0", + "description": "", + "type": "float64" + }, + "yaxis_log": { + "default": false, + "description": "If Y-axis (vertical) should be in log-scale", + "type": "bool" + }, + "yaxis_multiplier": { + "default": "100.0", + "description": "The multiplication factor for the Y-axis (vertical)", + "type": "float64" + }, + "ylabel": { + "default": "True Positives (1 - False Non-Match Rate), in %", + "description": "The label of the Y-axis (vertical)", + "type": "string" + }, + "ylim-bottom": { + "default": "0.0", + "description": "", + "type": "float64" + }, + "ylim-top": { + "default": "100.0", + "description": "", + "type": "float64" + } + }, + "dataformat": "plot/isoroc/1", + "uses": { + "baselib": "plot/baselib/1" + } + } + }, + { + "name": "plot/scatter/1", + "contents": { + "description": "Basic scatter plotter for simple lines", + "language": "python", + "parameters": { + "content_type": { + "choice": [ + "image/png", + "image/jpeg", + "application/pdf" + ], + "default": "image/png", + "description": "The type of image returned", + "type": "string" + }, + "dpi": { + "default": 60, + "description": "Dots-per-inch in raster image formats", + "type": "uint16" + }, + "grid": { + "default": false, + "description": "If we should draw grid lines or not for the plot", + "type": "bool" + }, + "height": { + "default": 300, + "description": "Height of the resulting image in pixels", + "type": "uint16" + }, + "legend": { + "default": "", + "description": "Short description of the data, to be added to the plot", + "type": "string" + }, + "line_attributes": { + "default": "", + "description": "Scatter/Line attributes passed directly to Matplotlib", + "type": "string" + }, + "title": { + "default": "Scatter plot", + "description": "The title for this plot", + "type": "string" + }, + "width": { + "default": 400, + "description": "Width of the resulting image in pixels", + "type": "uint16" + }, + "xaxis_log": { + "default": false, + "description": "If X-axis (horizontal) should be in log-scale", + "type": "bool" + }, + "xaxis_multiplier": { + "default": "1.0", + "description": "The multiplication factor for the X-axis (horizontal)", + "type": "float64" + }, + "xlabel": { + "default": "X", + "description": "The label of the X-axis (horizontal)", + "type": "string" + }, + "yaxis_log": { + "default": false, + "description": "If Y-axis (vertical) should be in log-scale", + "type": "bool" + }, + "yaxis_multiplier": { + "default": "1.0", + "description": "The multiplication factor for the Y-axis (vertical)", + "type": "float64" + }, + "ylabel": { + "default": "Y", + "description": "The label of the Y-axis (vertical)", + "type": "string" + } + }, + "dataformat": "plot/scatter/1", + "uses": { + "baselib": "plot/baselib/1" + } + } + } +]