diff --git a/tasks/util/make_schema.js b/tasks/util/make_schema.js index 6b3537ff829..f2e68036aad 100644 --- a/tasks/util/make_schema.js +++ b/tasks/util/make_schema.js @@ -17,7 +17,7 @@ module.exports = function makeSchema(plotlyPath, schemaPath) { w.eval(plotlyjsCode); var plotSchema = w.Plotly.PlotSchema.get(); - var plotSchemaStr = JSON.stringify(plotSchema, null, 4); + var plotSchemaStr = JSON.stringify(plotSchema, null, 1); fs.writeFileSync(schemaPath, plotSchemaStr); console.log('ok ' + path.basename(schemaPath));