Closed
Description
I made this plot:
Plotly.newPlot(gd,[
{type:'barpolar',r:r,theta:th,marker:{color:c,colorscale:'Jet'},subplot:'polar2'},
{type:'scatterpolar',mode:'markers',theta:mth,r:mr,marker:{size:ms,color:mc,colorscale:[[0,'#600'],[1,'#f00']],sizeref:0.3}}
], {
polar2: {domain:{x:[0,1],y:[0,1]},bargap:0.5,hole:0.83,radialaxis:{visible:false},angularaxis:{ticks:'',showline:false,nticks:40}},
polar: {bgcolor:'#d3d3d3',hole:0.2,domain:{x:[0.1,0.9],y:[0.1,0.9]},
radialaxis:{gridcolor:'#fff',showline:false,showticklabels:false,ticks:''},
angularaxis:{gridcolor:'#fff',nticks:40,showline:false,ticks:'',showticklabels:false}}
})
But although it works correctly, Plotly.validate complains
:
Plotly.validate(gd.data, gd.layout)
LOG: In layout, key polar2.bargap is not part of the schema
@etpinard comments:
ah right, that's a first
a trace layout attribute inside a subplot container
(cc @Kully - you can ignore that one if you run Plotly.validate
)