We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51fd6fc commit 35470aaCopy full SHA for 35470aa
src/plot_api/plot_schema.js
@@ -231,7 +231,12 @@ function getModule(arg) {
231
{ attributes: polarAreaAttrs } :
232
Plotly.Plots.getModule({type: arg.type});
233
}
234
- else if('module' in arg) return Plotly[arg.module];
+
235
+ var subplotsRegistry = Plotly.Plots.subplotsRegistry,
236
+ _module = arg.module;
237
238
+ if(subplotsRegistry[_module]) return subplotsRegistry[_module];
239
+ else if('module' in arg) return Plotly[_module];
240
241
242
function removeUnderscoreAttrs(attributes) {
0 commit comments