You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contributing.md
+15-7
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
# Contributing
2
2
3
3
Thank you for contributing to plotly.py! We are actively looking for
4
-
diverse contributors, with diverse background and skills.
4
+
diverse contributors, with diverse background and skills.
5
5
6
6
This guide start by a general description of the different ways to contribute
7
7
to plotly.py, then we explain some technical aspects of preparing your
8
-
contribution.
8
+
contribution.
9
9
10
10
## Code of Conduct
11
11
12
-
Please check out the [Code of Conduct](CODE_OF_CONDUCT.md). Don't tl:dr; it,
12
+
Please check out the [Code of Conduct](CODE_OF_CONDUCT.md). Don't tl:dr; it,
13
13
but the general idea is to be nice.
14
14
15
15
## What are the different ways to contribute?
@@ -37,7 +37,7 @@ the structure of the code and of the repository.
37
37
- the `plotly.figure_factory` module provides Python "recipes" for building
38
38
advanced visualizations, such as Gantt charts, annotated heatmaps, etc.
39
39
Figure factories are one of the easiest entry points into plotly.py, since
40
-
they consist of Python-only code, with standalone, well-separated functions.
40
+
they consist of Python-only code, with standalone, well-separated functions.
41
41
However, please note that some of the figure factories become less relevant
42
42
as we are introducing more features into `plotly.express`. Some issues in the
43
43
tracker are labeled "figure_factory" and can be good issues to work on. More
@@ -70,14 +70,14 @@ also contribute to the project by
70
70
- reporting bugs (see below).
71
71
72
72
- submitting feature requests (maybe we'll convince you to contribute it as a
73
-
pull request!).
73
+
pull request!).
74
74
75
75
- helping other users on the [community forum](https://community.plot.ly/).
76
76
Join the list of [nice people](https://community.plot.ly/u) helping other
77
77
plotly users :-).
78
78
79
79
We also recommend reading the great
80
-
[how to contribute to open source](https://opensource.guide/how-to-contribute/)
80
+
[how to contribute to open source](https://opensource.guide/how-to-contribute/)
81
81
guide.
82
82
83
83
## Have a Bug Report?
@@ -98,7 +98,7 @@ Below we explain the technical aspects of contributing. It is not strictly neces
98
98
99
99
Note that if you are modifying a single documentation page, you can do it
100
100
directly on Github by clicking on the "Edit this page on GitHub" link, without
101
-
cloning the repository.
101
+
cloning the repository.
102
102
103
103
## Setup a Development Environment
104
104
@@ -206,6 +206,7 @@ First update the version of the `plotly.js` dependency in `packages/javascript/p
206
206
Then run the `updateplotlyjs` command with:
207
207
208
208
```bash
209
+
$ cd packages/python/plotly
209
210
$ python setup.py updateplotlyjs
210
211
```
211
212
@@ -214,6 +215,13 @@ the `plotly/plotly.js` GitHub repository (and place them in
214
215
`plotly/package_data`). It will then regenerate all of the `graph_objs`
215
216
classes based on the new schema.
216
217
218
+
For dev branches, it is also possible to use `updateplotlyjsdev --devrepo reponame --devbranch branchname` to update to development versions of `plotly.js`. This will fetch the `plotly.js` in the CircleCI artifact of the branch `branchname` of the repo `reponame`. If `--devrepo` or `--devbranch` are omitted, `updateplotlyjsdev` defaults using `plotly/plotly.js` and `master` respectively. For example, to update to a version from a pull request to the `plotly/plotly.js` repo that is numbered 555, run:
0 commit comments