Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c60c358

Browse files
author
Joseph Damiba
committed
inline example figures
1 parent 8415894 commit c60c358

14 files changed

+22
-30
lines changed

_posts/plotly_js/fundamentals/config-options/2015-09-24-config-locale.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
name: Change the Default Locale
3-
plot_url: https://codepen.io/plotly/embed/rqrgEQ/?height=600&theme-id=15263&default-tab=result
43
language: plotly_js
54
suite: configuration
65
order: 7.5
@@ -36,5 +35,4 @@
3635

3736
var config = {locale: 'fr'};
3837

39-
Plotly.newPlot('myDiv', data, layout, config);
40-
38+
Plotly.newPlot('myDiv', data, layout, config);

_posts/plotly_js/fundamentals/config-options/2015-09-24-config-opt-display-modebar.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
name: Always Display the Modebar
3-
plot_url: https://codepen.io/plotly/embed/jbMvLq/?height=450&theme-id=15263&default-tab=result
43
language: plotly_js
54
suite: configuration
65
order: 4

_posts/plotly_js/fundamentals/config-options/2015-09-24-config-opt-displaylogo.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
name: Hide the Plotly Logo on the Modebar
3-
plot_url: https://codepen.io/plotly/embed/EVgeWb/?height=450&theme-id=15263&default-tab=result
43
language: plotly_js
54
suite: configuration
65
order: 8

_posts/plotly_js/fundamentals/config-options/2015-09-24-config-opt-hide-modebar.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
name: Hide the Modebar
3-
plot_url: https://codepen.io/plotly/embed/YyGOLg/?height=450&theme-id=15263&default-tab=result
43
language: plotly_js
54
suite: configuration
65
order: 5
Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
---
2-
name: Modify the "Edit Chart" Link Text
3-
plot_url: https://codepen.io/plotly/embed/WQGgbe/?height=600&theme-id=15263&default-tab=result
2+
name: Customize The `Edit Chart` Link Text
43
language: plotly_js
54
suite: configuration
65
order: 7
76
sitemap: false
87
arrangement: horizontal
98
---
109
var trace1 = {
11-
z: [[0, 1, 2, 3, 4, 5, 6], [1, 9, 4, 7, 5, 2, 4], [2, 4, 2, 1, 6, 9, 3]],
12-
type: 'heatmap'
13-
};
10+
z: [[0, 1, 2, 3, 4, 5, 6],
11+
[1, 9, 4, 7, 5, 2, 4],
12+
[2, 4, 2, 1, 6, 9, 3]],
13+
type: 'heatmap'
14+
};
15+
16+
var data = [trace1];
1417

15-
var data = [trace1];
18+
var layout = {
19+
title: 'Customize The Edit Chart Link Text'
20+
};
1621

17-
var layout = {
18-
title: 'Change the Link Text'
19-
};
20-
21-
Plotly.newPlot('myDiv', data, layout, {linkText: 'Change this text'});
22+
Plotly.newPlot('myDiv', data, layout, {showLink: true, linkText: 'This text is custom!'});

_posts/plotly_js/fundamentals/config-options/2015-09-24-config-opt-scrollzoom.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
name: Scroll and Zoom
3-
plot_url: https://codepen.io/plotly/embed/QjKZbg/?height=450&theme-id=15263&default-tab=result
43
language: plotly_js
54
suite: configuration
65
order: 1

_posts/plotly_js/fundamentals/config-options/2015-09-24-config-opt-showlink.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
2-
name: Display the "Edit Chart" Link
3-
plot_url: https://codepen.io/plotly/embed/epdjem/?height=600&theme-id=15263&default-tab=result
2+
name: Display the `Edit Chart` Link
43
language: plotly_js
54
suite: configuration
65
order: 6
@@ -18,7 +17,9 @@
1817
};
1918

2019
var data = [trace1];
20+
2121
var layout = {
2222
title: 'Display the Edit Chart Link'
2323
};
24+
2425
Plotly.newPlot('myDiv', data, layout, {showLink: true});

_posts/plotly_js/fundamentals/config-options/2015-09-24-config-opt-static-plot.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
name: Making a Static Chart
3-
plot_url: https://codepen.io/plotly/embed/YyGjda/?height=450&theme-id=15263&default-tab=result
43
language: plotly_js
54
suite: configuration
65
order: 3

_posts/plotly_js/fundamentals/config-options/2015-09-24-config-opt-toImageButtonOptions.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
name: Customize Download Plot Options
3-
plot_url: https://codepen.io/plotly/embed/MZjYRB/?height=450&theme-id=15263&default-tab=result
43
language: plotly_js
54
suite: configuration
65
order: 3.1

_posts/plotly_js/fundamentals/config-options/2015-09-24-config-showSendToCloud.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
name: Display Edit in Chart Studio Button
3-
plot_url: https://codepen.io/plotly/embed/aPpzzw/?height=600&theme-id=15263&default-tab=result
43
language: plotly_js
54
suite: configuration
65
order: 7.1

_posts/plotly_js/fundamentals/config-options/2015-09-24-config_options_index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
thumbnail: thumbnail/modebar-icons.png
99
display_as: reference
1010
---
11+
<script src="https://cdn.plot.ly/plotly-locale-fr-latest.js"></script>
1112

1213
The plotly.js <code>config</code> argument sets properties like the mode bar buttons and the interactivity in the chart.
1314
It's the last argument in <code>Plotly.newPlot</code> and <code>Plotly.newPlot</code> calls.

_posts/plotly_js/fundamentals/config-options/2017-03-01-edit_mode.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
---
2-
name: Edit Mode
3-
plot_url: https://codepen.io/plotly/embed/VpeMKo/?height=450&theme-id=15263&default-tab=result
2+
name: Editable Mode
43
language: plotly_js
54
suite: configuration
65
order: 2
76
sitemap: false
87
arrangement: horizontal
8+
markdown_content: |
9+
In editable mode, users can edit the chart title, axis labels and trace names in the legend.
910
---
1011
var trace1 = {
1112
x: [0, 1, 2, 3, 4],
@@ -22,7 +23,6 @@
2223
};
2324

2425
var data = [trace1, trace2];
25-
var layout = {
26-
title: 'Click Here<br>to Edit Chart Title'};
26+
var layout = {title: 'Click Here<br>to Edit Chart Title'};
2727

2828
Plotly.newPlot('myDiv', data, layout, {editable: true});

_posts/plotly_js/fundamentals/config-options/2018-02-04-config-opt-modebarButtons.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
name: Remove Modebar Buttons
3-
plot_url: https://codepen.io/plotly/embed/OQyEaP/?height=450&theme-id=15263&default-tab=result
43
language: plotly_js
54
suite: configuration
65
order: 9

_posts/plotly_js/fundamentals/config-options/2018-09-12-config-opt-responsive.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
name: Making a Responsive Chart
3-
plot_url: https://codepen.io/plotly/embed/BOxMXz/?height=550&theme-id=15263&default-tab=result
43
language: plotly_js
54
suite: configuration
65
order: 10
@@ -22,7 +21,7 @@
2221
var data = [ trace1 ];
2322

2423
var layout = {
25-
title: 'Responsive to window's size!',
24+
title: 'Responsive to window size!',
2625
font: {size: 18}
2726
};
2827

0 commit comments

Comments
 (0)