Skip to content

Commit 659714f

Browse files
committed
Merge branch 'master' into plotly-js-3-docs
2 parents 945f4da + 3bf2815 commit 659714f

File tree

234 files changed

+1189
-594
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

234 files changed

+1189
-594
lines changed

CODE_OF_CONDUCT.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/), and may also be found online at <https://community.plotly.com/pub/code-of-conduct>.

_includes/layouts/webinar_plug.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
<a href="https://plotly.com/careers/?utm_medium=graphing_libraries&utm_content=sidebar" target="_blank">
3-
<img src="https://images.prismic.io/plotly-marketing-website/a9ba884c-ee2c-40f9-9c39-809ea1b5aac7_dash_doc_banner_career-01+%281%29.jpg?auto=compress,format"
4-
style="width: 200px; height: 200px; position: fixed; bottom: 10px; left: 50px" alt="View all the positions that Plotly is hiring for!">
2+
<a href="https://go.plotly.com/dash-club?utm_source=Dash+Club+2022&utm_medium=graphing_libraries&utm_content=sidebar" target="_blank">
3+
<img src="https://images.prismic.io/plotly-marketing-website-2/7953022d-73b1-481e-8f6b-9ce9bd80e588_Dash+Club.jpeg?auto=compress,format"
4+
style="width: 200px; height: 200px; position: fixed; bottom: 10px; left: 50px" alt="Sign up to Dash Club to get two free cheat sheets as well as tips and tricks, community apps, and deep dives delivered every two months">
55
</a>

_posts/csharp/indexes/2021-08-04-statistic-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
permalink: csharp/statistical-charts/
3-
description: Plotly's C# graphing library makes interactive, publication-quality graphs online. Examples of how to make statistical charts such as box plots, histograms, and distrubution plots.
3+
description: Plotly's C# graphing library makes interactive, publication-quality graphs online. Examples of how to make statistical charts such as box plots, histograms, and distribution plots.
44
name: Statistical Charts
55
layout: langindex
66
language: csharp

_posts/fsharp/indexes/2021-08-04-statistic-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
permalink: fsharp/statistical-charts/
3-
description: Plotly's F# graphing library makes interactive, publication-quality graphs online. Examples of how to make statistical charts such as box plots, histograms, and distrubution plots.
3+
description: Plotly's F# graphing library makes interactive, publication-quality graphs online. Examples of how to make statistical charts such as box plots, histograms, and distribution plots.
44
name: Statistical Charts
55
layout: langindex
66
language: fsharp

_posts/ggplot2/indexes/2021-08-04-statistic-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
permalink: ggplot2/statistical-charts/
3-
description: Plotly's ggplot2 graphing library makes interactive, publication-quality graphs online. Examples of how to make statistical charts such as box plots, histograms, and distrubution plots.
3+
description: Plotly's ggplot2 graphing library makes interactive, publication-quality graphs online. Examples of how to make statistical charts such as box plots, histograms, and distribution plots.
44
name: Statistical Charts
55
layout: langindex
66
language: ggplot2

_posts/julia/indexes/2021-08-04-statistic-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
permalink: julia/statistical-charts/
3-
description: Plotly's Julia graphing library makes interactive, publication-quality graphs online. Examples of how to make statistical charts such as box plots, histograms, and distrubution plots.
3+
description: Plotly's Julia graphing library makes interactive, publication-quality graphs online. Examples of how to make statistical charts such as box plots, histograms, and distribution plots.
44
name: Statistical Charts
55
layout: langindex
66
language: julia

_posts/matlab/indexes/2021-08-04-statistic-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
permalink: matlab/statistical-charts/
3-
description: Plotly's MATLAB<sup>&reg;</sup> graphing library makes interactive, publication-quality graphs online. Examples of how to make statistical charts such as box plots, histograms, and distrubution plots.
3+
description: Plotly's MATLAB<sup>&reg;</sup> graphing library makes interactive, publication-quality graphs online. Examples of how to make statistical charts such as box plots, histograms, and distribution plots.
44
name: Statistical Charts
55
layout: langindex
66
language: matlab

_posts/nodejs/histogram/2015-04-09-overlaid-histogram.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Overlaid Histgram
2+
name: Overlaid Histogram
33
plot_url: https://plotly.com/~PlotBot/54
44
arrangement: horizontal
55
language: nodejs

_posts/plotly_js/2015-04-05-plotly_js-index.html

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,25 @@ <h1>Plotly JavaScript Open Source Graphing Library</h1>
5151
reversescale: true, zmax: 2.5, zmin: -2.5
5252
};
5353
var layout = {
54-
title: 'turbulence simulation',
55-
xaxis: {title: 'radial direction', showline: true, mirror: 'allticks', ticks: 'inside'},
56-
yaxis: {title: 'vertical direction', showline: true, mirror: 'allticks', ticks: 'inside'},
54+
title: {
55+
text: 'turbulence simulation'
56+
},
57+
xaxis: {
58+
title: {
59+
text: 'radial direction'
60+
},
61+
showline: true,
62+
mirror: 'allticks',
63+
ticks: 'inside'
64+
},
65+
yaxis: {
66+
title: {
67+
text: 'vertical direction'
68+
},
69+
showline: true,
70+
mirror: 'allticks',
71+
ticks: 'inside'
72+
},
5773
margin: {l: 40, b: 40, t: 60},
5874
annotations: [{
5975
showarrow: false,
@@ -97,7 +113,11 @@ <h1>Plotly JavaScript Open Source Graphing Library</h1>
97113
};
98114

99115
var layout = {
100-
yaxis: {title: "Wind Speed"}, // set the y axis title
116+
yaxis: {
117+
title: {
118+
text: "Wind Speed"
119+
}
120+
}, // set the y axis title
101121
xaxis: {
102122
showgrid: false, // remove the x-axis grid lines
103123
tickformat: "%B, %Y" // customize the date format to "month, day"

_posts/plotly_js/2016-06-03-plotly_js_function_ref.html

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,20 @@ <h4 id="plotly-newplot"><a href="{{ BASE_URL }}/javascript/plotlyjs-function-ref
8484
}];
8585

8686
var layout = {
87-
title: 'Sales Growth',
87+
title: {
88+
text: 'Sales Growth'
89+
},
8890
xaxis: {
89-
title: 'Year',
91+
title: {
92+
text: 'Year'
93+
},
9094
showgrid: false,
9195
zeroline: false
9296
},
9397
yaxis: {
94-
title: 'Percent',
98+
title: {
99+
text: 'Percent'
100+
},
95101
showline: false
96102
}
97103
};
@@ -252,7 +258,7 @@ <h4 id="plotly-relayout"><a href="{{ BASE_URL }}/javascript/plotlyjs-function-re
252258
<pre><code class="language-javascript hljs" data-lang="javascript">
253259
// update only values within nested objects
254260
var update = {
255-
title: 'some new title', // updates the title
261+
title: {text: 'some new title'}, // updates the title
256262
'xaxis.range': [0, 5], // updates the xaxis range
257263
'yaxis.range[1]': 15 // updates the end of the yaxis range
258264
};
@@ -290,7 +296,7 @@ <h4 id="plotly-update"><a href="{{ BASE_URL }}/javascript/plotlyjs-function-refe
290296
<pre><code class="language-javascript hljs" data-lang="javascript">
291297
//update the layout and all the traces
292298
var layout_update = {
293-
title: 'some new title', // updates the title
299+
title: {text: 'some new title'}, // updates the title
294300
};
295301
var data_update = {
296302
'marker.color': 'red'
@@ -299,7 +305,7 @@ <h4 id="plotly-update"><a href="{{ BASE_URL }}/javascript/plotlyjs-function-refe
299305

300306
//update the layout and a single trace
301307
var layout_update = {
302-
title: 'some new title', // updates the title
308+
title: {text: 'some new title'}, // updates the title
303309
};
304310
var data_update = {
305311
'marker.color': 'red'
@@ -308,7 +314,7 @@ <h4 id="plotly-update"><a href="{{ BASE_URL }}/javascript/plotlyjs-function-refe
308314

309315
//update the layout and two specific traces
310316
var layout_update = {
311-
title: 'some new title', // updates the title
317+
title: {text: 'some new title'}, // updates the title
312318
};
313319
var data_update = {
314320
'marker.color': 'red'
@@ -380,7 +386,9 @@ <h4 id="plotly-makeTemplate"><a href="{{ BASE_URL }}/javascript/plotlyjs-functio
380386
y: [2, 1, 3, 2],
381387
}],
382388
layout:{
383-
title: 'Quarterly Earnings'
389+
title: {
390+
text: 'Quarterly Earnings'
391+
}
384392
}
385393
};
386394

0 commit comments

Comments
 (0)