Skip to content

Commit 56addfc

Browse files
authored
Merge pull request #335 from striezel-stash/fix-tickmode-javascript
Fix tickmode JavaScript syntax in examples
2 parents f7ffede + e868e06 commit 56addfc

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

_posts/plotly_js/basic/dot/2015-08-11-categorical-dot-plot.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
color: 'rgb(102, 102, 102)'
6464
}
6565
},
66-
tickmode: linear,
66+
tickmode: 'linear',
6767
dtick: 10,
6868
ticks: 'outside',
6969
tickcolor: 'rgb(102, 102, 102)'

_posts/plotly_js/basic/line-plots/2015-08-07-labelling-with-annotations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
showticklabels: true,
6565
linecolor: 'rgb(204,204,204)',
6666
linewidth: 2,
67-
tickmode: linear,
67+
tickmode: 'linear',
6868
ticks: 'outside',
6969
tickcolor: 'rgb(204,204,204)',
7070
tickwidth: 2,

_posts/plotly_js/fundamentals/axes/2015-04-09-axes-ticks.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
var data = [trace1, trace2];
2020
var layout = {
2121
xaxis: {
22-
tickmode: linear,
22+
tickmode: 'linear',
2323
ticks: 'outside',
2424
tick0: 0,
2525
dtick: 0.25,
@@ -28,7 +28,7 @@
2828
tickcolor: '#000'
2929
},
3030
yaxis: {
31-
tickmode: linear,
31+
tickmode: 'linear',
3232
ticks: 'outside',
3333
tick0: 0,
3434
dtick: 0.25,

_posts/plotly_js/fundamentals/colorscales/2015-08-10-discretized-heatmap-colorscale.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
],
5353
type: 'heatmap',
5454
colorbar:{
55-
tickmode: linear,
55+
tickmode: 'linear',
5656
tick0: 0,
5757
dtick: 1
5858
}

_posts/plotly_js/fundamentals/images/2016-06-21-logo.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
},
5555
width: 700,
5656
xaxis: {
57-
tickmode: linear,
57+
tickmode: "linear",
5858
dtick: 10,
5959
gridcolor: "rgba(102, 102, 102, 0.4)",
6060
linecolor: "#000",
@@ -70,7 +70,7 @@
7070
},
7171
yaxis: {
7272
anchor: "x",
73-
tickmode: linear,
73+
tickmode: "linear",
7474
gridcolor: "rgba(102, 102, 102, 0.4)",
7575
gridwidth: 1,
7676
linecolor: "#000",

_posts/plotly_js/fundamentals/shapes/2015-08-10-venn-diagram-with-circle-shapes.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@
2626
},
2727
xaxis: {
2828
showticklabels: false,
29-
tickmode: linear,
29+
tickmode: 'linear',
3030
showgrid: false,
3131
zeroline: false
3232
},
3333
yaxis: {
3434
showticklabels: false,
35-
tickmode: linear,
35+
tickmode: 'linear',
3636
showgrid: false,
3737
zeroline: false
3838
},

0 commit comments

Comments
 (0)