diff --git a/_posts/reference_pages/2015-08-19-plotly_js-reference.html b/_posts/reference_pages/2015-08-19-plotly_js-reference.html index 820661fc9..042ffabad 100644 --- a/_posts/reference_pages/2015-08-19-plotly_js-reference.html +++ b/_posts/reference_pages/2015-08-19-plotly_js-reference.html @@ -22,33 +22,33 @@

JavaScript Figure Reference: Single-Page

     data = [
         {
-            type: 'scatter',  // all "scatter" attributes: https://plotly.com/javascript/reference/#scatter
-            x: [1, 2, 3],     // more about "x": #scatter-x
-            y: [3, 1, 6],     // #scatter-y
-            marker: {         // marker is an object, valid marker keys: #scatter-marker
-                color: 'rgb(16, 32, 77)' // more about "marker.color": #scatter-marker-color
+            type: 'scatter',  // all "scatter" attributes: #scatter
+            x: [1, 2, 3],     // more about "x": #scatter-x
+            y: [3, 1, 6],     // #scatter-y
+            marker: {         // marker is an object, valid marker keys: #scatter-marker
+                color: 'rgb(16, 32, 77)' // more about "marker.color": #scatter-marker-color
             }
         },
         {
-            type: 'bar',      // all "bar" chart attributes: #bar
-            x: [1, 2, 3],     // more about "x": #bar-x
-            y: [3, 1, 6],     // #bar-y
-            name: 'bar chart example' // #bar-name
+            type: 'bar',      // all "bar" chart attributes: #bar
+            x: [1, 2, 3],     // more about "x": #bar-x
+            y: [3, 1, 6],     // #bar-y
+            name: 'bar chart example' // #bar-name
         }
     ];
 
-    layout = {                     // all "layout" attributes: #layout
-        title: 'simple example',  // more about "layout.title": #layout-title
-        xaxis: {                  // all "layout.xaxis" attributes: #layout-xaxis
-            title: 'time'         // more about "layout.xaxis.title": #layout-xaxis-title
+    layout = {                     // all "layout" attributes: #layout
+        title: 'simple example',  // more about "layout.title": #layout-title
+        xaxis: {                  // all "layout.xaxis" attributes: #layout-xaxis
+            title: 'time'         // more about "layout.xaxis.title": #layout-xaxis-title
         },
-        annotations: [            // all "annotation" attributes: #layout-annotations
+        annotations: [            // all "annotation" attributes: #layout-annotations
             {
-                text: 'simple annotation',    // #layout-annotations-text
-                x: 0,                         // #layout-annotations-x
-                xref: 'paper',                // #layout-annotations-xref
-                y: 0,                         // #layout-annotations-y
-                yref: 'paper'                 // #layout-annotations-yref
+                text: 'simple annotation',    // #layout-annotations-text
+                x: 0,                         // #layout-annotations-x
+                xref: 'paper',                // #layout-annotations-xref
+                y: 0,                         // #layout-annotations-y
+                yref: 'paper'                 // #layout-annotations-yref
             }
         ]
     }