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
As a result, contributing to ArviZ typically means contributing to one of these packages rather
22
+
than to the main ArviZ repository itself.
23
+
When browsing issues or pull requests, keep in mind that most activity happens in the
24
+
corresponding package repositories.
25
+
:::
17
26
27
+
(steps_before_working)=
18
28
## Steps before starting work
19
-
Before starting work on a pull request double-check that no one else
29
+
Before starting work on a pull request, double-check that no one else
20
30
is working on the ticket in both issue tickets and pull requests.
21
31
22
32
ArviZ is a community-driven project and always has multiple people working
@@ -25,50 +35,67 @@ that we all make the most of our time and we don't have two contributors
25
35
working on the same changes. Let's see what to do when you encounter the following scenarios:
26
36
27
37
### If an issue ticket exists
28
-
If an issue exists check the ticket to ensure no one else has started working on it. If you are first to start work, comment on the ticket to make it evident to others. If the comment looks old or abandoned leave a comment asking if you may start work.
38
+
If an issue exists, check the ticket to ensure no one else has started working on it.
39
+
If you are first to start work, comment on the ticket to make it evident to others.
40
+
If the comment looks old or abandoned, leave a comment asking if you may start work.
29
41
30
42
### If an issue ticket doesn't exist
31
-
Open an issue ticket for the issue and state that you'll be solving the issue with a pull request. Optionally create a pull request and add `[WIP]` in the title to indicate Work in Progress.
43
+
Open an issue ticket for the issue and state that you'll be solving the issue with a pull request.
44
+
Optionally create a pull request and add `[WIP]` in the title to indicate Work in Progress.
32
45
33
46
### In the event of a conflict
34
-
In the event of two or more people working on the same issue, the general precedence will go to the person who first commented on the issue. If no comments it will go to the first person to submit a PR for review. Each situation will differ though, and the core contributors will make the best judgment call if needed.
47
+
In the event of two or more people working on the same issue,
48
+
the general precedence will go to the person who first commented on the issue.
49
+
If there are no comments, it will go to the first person to submit a PR for review.
50
+
Each situation will differ though, and the core contributors will make the best judgment call if needed.
35
51
36
52
### If the issue ticket has someone assigned to it
37
-
If the issue is assigned then precedence goes to the assignee. However, if there has been no activity for 2 weeks from the assignment date, the ticket is open for all again and can be unassigned.
53
+
If the issue is assigned, then precedence goes to the assignee.
54
+
However, if there has been no activity for 2 weeks from the assignment date,
55
+
the ticket is open for all again and can be unassigned.
In ArviZ docs, docstrings consist of five main sections, i.e.,
7
8
1. Short summary
8
9
2. Parameters
9
10
3. Returns
@@ -17,19 +18,25 @@ Docstrings follow the same guide for adding references as the other docs.
17
18
For adding references to external libraries functions and objects, see {ref}`reference_external_libs`. For referencing ArviZ objects, follow {ref}`reference_arviz_objects`.
18
19
19
20
## See Also
20
-
In ArviZ docs, we have a lot of interconnected functions both within the library and with external libraries and it can take a lot of time to search for the related functions. It is crucial to add the See Also section to save users time.
21
-
For adding the _See Also_ docstring section, you just need to add the function name. Sphinx will
22
-
automatically add links to other ArviZ objects and functions listed in the _See Also_
21
+
In ArviZ docs, we have a lot of interconnected functions both within the library and with external
22
+
libraries and it can take a lot of time to search for the related functions.
23
+
It is crucial to add the See Also section to save users time.
24
+
For adding the _See Also_ docstring section, you just need to add the function name.
25
+
Sphinx will automatically add links to other ArviZ objects and functions listed in the _See Also_
23
26
section.
24
27
25
-
For example, let's add {func}`~arviz.hdi` and {func}`~arviz.plot_ppc` in the _See Also_ section.
28
+
For example, let's add {func}`~arviz_stats.hdi` and {func}`~arviz_plots.plot_ppc_dist` in the _See Also_ section.
26
29
27
30
```
28
31
See Also
29
32
--------
30
-
hdi : Calculate highest density interval (HDI) of array for given probability.
31
-
plot_ppc : plot for posterior/prior predictive checks.
33
+
arviz_stats.hdi : Calculate highest density interval (HDI) of array for given probability.
34
+
arviz_plots.plot_ppc_dist : plot for posterior/prior predictive checks.
32
35
```
33
36
34
37
## Kwargs parameters
35
-
All the kwargs parameters in {ref}`plots <plot_api>` modules are passed to the matplotlib or bokeh functions. While writing their description, the functions to which they are being passed must be mentioned. In order to check or add those functions, the process is the same for all the kwargs arguments. Let's read the step-by-step guide for `backend_kwargs` as an example, [here](https://github.com/arviz-devs/arviz/wiki/ArviZ-Hacktoberfest-2021).
38
+
39
+
All the kwargs parameters in the {doc}`arviz_plots:api/index` modules are passed to the
40
+
Matplotlib or Bbokeh functions. While writing their description, the functions to which they are
41
+
being passed must be mentioned. In order to check or add those functions, the process is the same
rather than on social media or by direct email to the developers.
5
+
We prefer that issues be shared on a Github Issue Tracker rather than on social media or by direct email to the developers.
6
+
If you are unsure if your issue corresponds to a specific package of the ArviZverse,
7
+
you can open an issue in the [main ArviZ repository issue tracker](https://github.com/arviz-devs/arviz/issues).
8
+
On the other hand, if you are certain the issue corresponds to a specific pacakge, use the relevant issue tracker: of the corresponding package repository:
0 commit comments