Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.editor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
beat
beat.editor
Commits
586efa0b
Commit
586efa0b
authored
6 years ago
by
Flavio TARSETTI
Browse files
Options
Downloads
Patches
Plain Diff
[test] added test_plotters.json file
parent
589a2a61
No related branches found
No related tags found
2 merge requests
!29
Fix issues for plotter editor and added unit tests
,
!23
Fix issues plotter editor
Pipeline
#24454
passed
6 years ago
Stage: build
Stage: browser-tests
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
conda/js/test/test_plotters.json
+341
-0
341 additions, 0 deletions
conda/js/test/test_plotters.json
with
341 additions
and
0 deletions
conda/js/test/test_plotters.json
0 → 100644
+
341
−
0
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"
}
}
}
]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment