Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.editor
Commits
586efa0b
Commit
586efa0b
authored
Oct 19, 2018
by
Flavio TARSETTI
Browse files
[test] added test_plotters.json file
parent
589a2a61
Pipeline
#24454
passed with stages
in 26 minutes and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
conda/js/test/test_plotters.json
0 → 100644
View file @
586efa0b
[
{
"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"
}
}
}
]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment