File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 {% include 'navigation.html' %}
1212 < content >
1313 < h2 > Quality per track</ h2 >
14- < div id ="plot "> </ div >
1514 < div id ="violinplot "> </ div >
1615
1716 < h2 > Lowest quality tracks (by bitrate)</ h2 >
@@ -32,34 +31,14 @@ <h2>Lowest quality tracks (by bitrate)</h2>
3231 </ content >
3332 {% include 'footer.html' %}
3433 < script >
35- var quality_data = [ {
36- type : 'histogram' ,
37- histfunc : 'count' ,
38- y : [ { % for bitrate in bitrates % } { { bitrate. bitrate } } , { % endfor % } ] ,
39- nbinsy : 100
40- } ] ;
41- var layout = {
42- yaxis :{
43- autorange :'reversed' ,
44- automargin : 'width' ,
45- } ,
46- height : 700 ,
47- margin : {
48- l : 45 ,
49- r : 10 ,
50- b : 20 ,
51- t : 0 ,
52- }
53- } ;
5434 config = { responsive : true } ;
55- Plotly . newPlot ( "plot" , quality_data , layout , config ) ;
5635
5736 var quality_data_violin = {
5837 name : 'Quality' ,
5938 x : [ { % for bitrate in bitrates % } { { bitrate. bitrate } } , { % endfor % } ] ,
6039 type : 'violin' ,
6140 } ;
62- Plotly . newPlot ( "violinplot" , [ quality_data_violin ] ) ;
41+ Plotly . newPlot ( "violinplot" , [ quality_data_violin ] , config ) ;
6342 </ script >
6443
6544 </ body >
You can’t perform that action at this time.
0 commit comments