Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,4 @@ cython_debug/
## TO REMOVE ONCE WE HAVE THE MONOREPO
pixi.lock
pixi.toml
.idea/
37 changes: 15 additions & 22 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,23 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v5.0.0
hooks:
- id: check-added-large-files
args: ['--maxkb=1500']
- id: check-toml
- id: check-merge-conflict

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
- id: end-of-file-fixer
- id: no-commit-to-branch
args: [--branch, main]
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.6
hooks:
- id: isort
exclude: ^src/arviz_base/example_data/

- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
exclude: ^docs/source/gallery/

- repo: https://github.com/pycqa/pydocstyle
rev: 6.3.0
hooks:
- id: pydocstyle
additional_dependencies: [tomli]
files: ^src/arviz_plots/.+\.py$

- id: ruff-check
args: [--fix, --exit-non-zero-on-fix]
types: [python]
- id: ruff-format
types: [python]
- repo: local
hooks:
- id: pylint
Expand All @@ -34,7 +27,7 @@ repos:
types: [python]
args:
[
"-rn", # Only display messages
"-sn", # Don't display the score
"-rn",
"-sn",
]
exclude: ^docs/source/gallery/
96 changes: 48 additions & 48 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,59 +101,59 @@
## What's Changed

### New features
* Adds Pair plot by [@The-Broken-Keyboard](https://github.com/The-Broken-Keyboard) in [#287](https://github.com/arviz-devs/arviz-plots/pull/287)
* Add parallel plot by [@The-Broken-Keyboard](https://github.com/The-Broken-Keyboard) in [#300](https://github.com/arviz-devs/arviz-plots/pull/300)
* Add face in dist_plot by [@The-Broken-Keyboard](https://github.com/The-Broken-Keyboard) in [#305](https://github.com/arviz-devs/arviz-plots/pull/305)
* Add dark theme by [@The-Broken-Keyboard](https://github.com/The-Broken-Keyboard) in [#309](https://github.com/arviz-devs/arviz-plots/pull/309)
* Add muted style/palette ("arviz-tenui") by [@aloctavodia](https://github.com/aloctavodia) in [#315](https://github.com/arviz-devs/arviz-plots/pull/315)
* Add legend to visuals by [@aloctavodia](https://github.com/aloctavodia) in [#321](https://github.com/arviz-devs/arviz-plots/pull/321)
* plot_ppc_pava: extend support for categorical and ordinal data by [@aloctavodia](https://github.com/aloctavodia) in [#316](https://github.com/arviz-devs/arviz-plots/pull/316)
* Add mode as a valid option for `point_estimate` in plot_forest by [@aloctavodia](https://github.com/aloctavodia) in [#337](https://github.com/arviz-devs/arviz-plots/pull/337)
* Add plot_lm by [@The-Broken-Keyboard](https://github.com/The-Broken-Keyboard) in [#328](https://github.com/arviz-devs/arviz-plots/pull/328)
* Add plot_ppc_intervals function by [@PiyushPanwarFST](https://github.com/PiyushPanwarFST) in [#334](https://github.com/arviz-devs/arviz-plots/pull/334)
* Add plot_ppc_censored by [@aloctavodia](https://github.com/aloctavodia) in [#346](https://github.com/arviz-devs/arviz-plots/pull/346)
* Allow using "CX" notation for aliases to default aes cycle by [@OriolAbril](https://github.com/OriolAbril) in [#311](https://github.com/arviz-devs/arviz-plots/pull/311)
* Allow values in visuals to be True by [@aloctavodia](https://github.com/aloctavodia) in [#326](https://github.com/arviz-devs/arviz-plots/pull/326)
* Allow non-shared variables for multiple models by [@aloctavodia](https://github.com/aloctavodia) in [#331](https://github.com/arviz-devs/arviz-plots/pull/331)
* Add warning message when group is prior_predictive by [@aloctavodia](https://github.com/aloctavodia) in [#352](https://github.com/arviz-devs/arviz-plots/pull/352)
* Adds Pair plot by [@The-Broken-Keyboard](https://github.com/The-Broken-Keyboard) in [#287](https://github.com/arviz-devs/arviz-plots/pull/287)
* Add parallel plot by [@The-Broken-Keyboard](https://github.com/The-Broken-Keyboard) in [#300](https://github.com/arviz-devs/arviz-plots/pull/300)
* Add face in dist_plot by [@The-Broken-Keyboard](https://github.com/The-Broken-Keyboard) in [#305](https://github.com/arviz-devs/arviz-plots/pull/305)
* Add dark theme by [@The-Broken-Keyboard](https://github.com/The-Broken-Keyboard) in [#309](https://github.com/arviz-devs/arviz-plots/pull/309)
* Add muted style/palette ("arviz-tenui") by [@aloctavodia](https://github.com/aloctavodia) in [#315](https://github.com/arviz-devs/arviz-plots/pull/315)
* Add legend to visuals by [@aloctavodia](https://github.com/aloctavodia) in [#321](https://github.com/arviz-devs/arviz-plots/pull/321)
* plot_ppc_pava: extend support for categorical and ordinal data by [@aloctavodia](https://github.com/aloctavodia) in [#316](https://github.com/arviz-devs/arviz-plots/pull/316)
* Add mode as a valid option for `point_estimate` in plot_forest by [@aloctavodia](https://github.com/aloctavodia) in [#337](https://github.com/arviz-devs/arviz-plots/pull/337)
* Add plot_lm by [@The-Broken-Keyboard](https://github.com/The-Broken-Keyboard) in [#328](https://github.com/arviz-devs/arviz-plots/pull/328)
* Add plot_ppc_intervals function by [@PiyushPanwarFST](https://github.com/PiyushPanwarFST) in [#334](https://github.com/arviz-devs/arviz-plots/pull/334)
* Add plot_ppc_censored by [@aloctavodia](https://github.com/aloctavodia) in [#346](https://github.com/arviz-devs/arviz-plots/pull/346)
* Allow using "CX" notation for aliases to default aes cycle by [@OriolAbril](https://github.com/OriolAbril) in [#311](https://github.com/arviz-devs/arviz-plots/pull/311)
* Allow values in visuals to be True by [@aloctavodia](https://github.com/aloctavodia) in [#326](https://github.com/arviz-devs/arviz-plots/pull/326)
* Allow non-shared variables for multiple models by [@aloctavodia](https://github.com/aloctavodia) in [#331](https://github.com/arviz-devs/arviz-plots/pull/331)
* Add warning message when group is prior_predictive by [@aloctavodia](https://github.com/aloctavodia) in [#352](https://github.com/arviz-devs/arviz-plots/pull/352)

### Maintenance and bug fixes

* Update API plot list by [@aloctavodia](https://github.com/aloctavodia) in [#293](https://github.com/arviz-devs/arviz-plots/pull/293)
* Update given upcoming changes in arviz-stats by [@aloctavodia](https://github.com/aloctavodia) in [#294](https://github.com/arviz-devs/arviz-plots/pull/294)
* PR for plot_ridge missing from example gallery by [@aminskey](https://github.com/aminskey) in [#303](https://github.com/arviz-devs/arviz-plots/pull/303)
* fix position point_estimate_text by [@aloctavodia](https://github.com/aloctavodia) in [#313](https://github.com/arviz-devs/arviz-plots/pull/313)
* Restrict palette to eight colors by [@aloctavodia](https://github.com/aloctavodia) in [#312](https://github.com/arviz-devs/arviz-plots/pull/312)
* Set custom tooltip for plotly and other fixes by [@aloctavodia](https://github.com/aloctavodia) in [#323](https://github.com/arviz-devs/arviz-plots/pull/323)
* Improve default legend for bokeh by [@aloctavodia](https://github.com/aloctavodia) in [#324](https://github.com/arviz-devs/arviz-plots/pull/324)
* plot_compare: improve docstring and fix plotly overlap by [@aloctavodia](https://github.com/aloctavodia) in [#325](https://github.com/arviz-devs/arviz-plots/pull/325)
* Generalize plot_compare by [@aloctavodia](https://github.com/aloctavodia) in [#329](https://github.com/arviz-devs/arviz-plots/pull/329)
* Adapt to changes in ecdf computation by [@aloctavodia](https://github.com/aloctavodia) in [#335](https://github.com/arviz-devs/arviz-plots/pull/335)
* Add missing check for non-labeller by [@aloctavodia](https://github.com/aloctavodia) in [#341](https://github.com/arviz-devs/arviz-plots/pull/341)
* Update default ci_prob for ecdf-pit plots by [@aloctavodia](https://github.com/aloctavodia) in [#345](https://github.com/arviz-devs/arviz-plots/pull/345)
* Add Python 3.13 to the tests by [@aloctavodia](https://github.com/aloctavodia) in [#348](https://github.com/arviz-devs/arviz-plots/pull/348)
* Small tweaks to tumma by [@aloctavodia](https://github.com/aloctavodia) in [#320](https://github.com/arviz-devs/arviz-plots/pull/320)
* improve default figsize for plot_ridge by [@OriolAbril](https://github.com/OriolAbril) in [#360](https://github.com/arviz-devs/arviz-plots/pull/360)
* Change truncation_factor name to avoid possible confusion by [@aloctavodia](https://github.com/aloctavodia) in [#363](https://github.com/arviz-devs/arviz-plots/pull/363)
* Refactor plot_lm by [@aloctavodia](https://github.com/aloctavodia) in [#343](https://github.com/arviz-devs/arviz-plots/pull/343)
* Remove deprecated GitHub action by [@OriolAbril](https://github.com/OriolAbril) in [#362](https://github.com/arviz-devs/arviz-plots/pull/362)
* Bump actions/download-artifact from 4 to 5 by [@dependabot](https://github.com/dependabot)[bot] in [#319](https://github.com/arviz-devs/arviz-plots/pull/319)
* Bump actions/checkout from 4 to 5 by [@dependabot](https://github.com/dependabot)[bot] in [#327](https://github.com/arviz-devs/arviz-plots/pull/327)
* Bump actions/setup-python from 5 to 6 by [@dependabot](https://github.com/dependabot)[bot] in [#339](https://github.com/arviz-devs/arviz-plots/pull/339)
* Bump peter-evans/create-or-update-comment from 4 to 5 by [@dependabot](https://github.com/dependabot)[bot] in [#351](https://github.com/arviz-devs/arviz-plots/pull/351)
* Bump actions/download-artifact from 5 to 6 by [@dependabot](https://github.com/dependabot)[bot] in [#359](https://github.com/arviz-devs/arviz-plots/pull/359)
* Bump release 0.7.0 by [@aloctavodia](https://github.com/aloctavodia) in [#366](https://github.com/arviz-devs/arviz-plots/pull/366)
* Update API plot list by [@aloctavodia](https://github.com/aloctavodia) in [#293](https://github.com/arviz-devs/arviz-plots/pull/293)
* Update given upcoming changes in arviz-stats by [@aloctavodia](https://github.com/aloctavodia) in [#294](https://github.com/arviz-devs/arviz-plots/pull/294)
* PR for plot_ridge missing from example gallery by [@aminskey](https://github.com/aminskey) in [#303](https://github.com/arviz-devs/arviz-plots/pull/303)
* fix position point_estimate_text by [@aloctavodia](https://github.com/aloctavodia) in [#313](https://github.com/arviz-devs/arviz-plots/pull/313)
* Restrict palette to eight colors by [@aloctavodia](https://github.com/aloctavodia) in [#312](https://github.com/arviz-devs/arviz-plots/pull/312)
* Set custom tooltip for plotly and other fixes by [@aloctavodia](https://github.com/aloctavodia) in [#323](https://github.com/arviz-devs/arviz-plots/pull/323)
* Improve default legend for bokeh by [@aloctavodia](https://github.com/aloctavodia) in [#324](https://github.com/arviz-devs/arviz-plots/pull/324)
* plot_compare: improve docstring and fix plotly overlap by [@aloctavodia](https://github.com/aloctavodia) in [#325](https://github.com/arviz-devs/arviz-plots/pull/325)
* Generalize plot_compare by [@aloctavodia](https://github.com/aloctavodia) in [#329](https://github.com/arviz-devs/arviz-plots/pull/329)
* Adapt to changes in ecdf computation by [@aloctavodia](https://github.com/aloctavodia) in [#335](https://github.com/arviz-devs/arviz-plots/pull/335)
* Add missing check for non-labeller by [@aloctavodia](https://github.com/aloctavodia) in [#341](https://github.com/arviz-devs/arviz-plots/pull/341)
* Update default ci_prob for ecdf-pit plots by [@aloctavodia](https://github.com/aloctavodia) in [#345](https://github.com/arviz-devs/arviz-plots/pull/345)
* Add Python 3.13 to the tests by [@aloctavodia](https://github.com/aloctavodia) in [#348](https://github.com/arviz-devs/arviz-plots/pull/348)
* Small tweaks to tumma by [@aloctavodia](https://github.com/aloctavodia) in [#320](https://github.com/arviz-devs/arviz-plots/pull/320)
* improve default figsize for plot_ridge by [@OriolAbril](https://github.com/OriolAbril) in [#360](https://github.com/arviz-devs/arviz-plots/pull/360)
* Change truncation_factor name to avoid possible confusion by [@aloctavodia](https://github.com/aloctavodia) in [#363](https://github.com/arviz-devs/arviz-plots/pull/363)
* Refactor plot_lm by [@aloctavodia](https://github.com/aloctavodia) in [#343](https://github.com/arviz-devs/arviz-plots/pull/343)
* Remove deprecated GitHub action by [@OriolAbril](https://github.com/OriolAbril) in [#362](https://github.com/arviz-devs/arviz-plots/pull/362)
* Bump actions/download-artifact from 4 to 5 by [@dependabot](https://github.com/dependabot)[bot] in [#319](https://github.com/arviz-devs/arviz-plots/pull/319)
* Bump actions/checkout from 4 to 5 by [@dependabot](https://github.com/dependabot)[bot] in [#327](https://github.com/arviz-devs/arviz-plots/pull/327)
* Bump actions/setup-python from 5 to 6 by [@dependabot](https://github.com/dependabot)[bot] in [#339](https://github.com/arviz-devs/arviz-plots/pull/339)
* Bump peter-evans/create-or-update-comment from 4 to 5 by [@dependabot](https://github.com/dependabot)[bot] in [#351](https://github.com/arviz-devs/arviz-plots/pull/351)
* Bump actions/download-artifact from 5 to 6 by [@dependabot](https://github.com/dependabot)[bot] in [#359](https://github.com/arviz-devs/arviz-plots/pull/359)
* Bump release 0.7.0 by [@aloctavodia](https://github.com/aloctavodia) in [#366](https://github.com/arviz-devs/arviz-plots/pull/366)

### Documentation

* Add ref target to installation section by [@OriolAbril](https://github.com/OriolAbril) in [#295](https://github.com/arviz-devs/arviz-plots/pull/295)
* Clean docstrings by [@aloctavodia](https://github.com/aloctavodia) in [#336](https://github.com/arviz-devs/arviz-plots/pull/336)
* Correct a typo: exising -> existing by [@star1327p](https://github.com/star1327p) in [#342](https://github.com/arviz-devs/arviz-plots/pull/342)
* Correct a typo: appeareance -> appearance by [@star1327p](https://github.com/star1327p) in [#349](https://github.com/arviz-devs/arviz-plots/pull/349)
* Correct more typos in arviz-plots documentation by [@star1327p](https://github.com/star1327p) in [#350](https://github.com/arviz-devs/arviz-plots/pull/350)
* Add link to `tests/conftest.py` file by [@star1327p](https://github.com/star1327p) in [#355](https://github.com/arviz-devs/arviz-plots/pull/355)
* Add plot_ppc_interval to API docs by [@satwiksps](https://github.com/satwiksps) in [#365](https://github.com/arviz-devs/arviz-plots/pull/365)
* Improve usage of quotation marks in documentation by [@star1327p](https://github.com/star1327p) in [#361](https://github.com/arviz-devs/arviz-plots/pull/361)
* Add ref target to installation section by [@OriolAbril](https://github.com/OriolAbril) in [#295](https://github.com/arviz-devs/arviz-plots/pull/295)
* Clean docstrings by [@aloctavodia](https://github.com/aloctavodia) in [#336](https://github.com/arviz-devs/arviz-plots/pull/336)
* Correct a typo: exising -> existing by [@star1327p](https://github.com/star1327p) in [#342](https://github.com/arviz-devs/arviz-plots/pull/342)
* Correct a typo: appeareance -> appearance by [@star1327p](https://github.com/star1327p) in [#349](https://github.com/arviz-devs/arviz-plots/pull/349)
* Correct more typos in arviz-plots documentation by [@star1327p](https://github.com/star1327p) in [#350](https://github.com/arviz-devs/arviz-plots/pull/350)
* Add link to `tests/conftest.py` file by [@star1327p](https://github.com/star1327p) in [#355](https://github.com/arviz-devs/arviz-plots/pull/355)
* Add plot_ppc_interval to API docs by [@satwiksps](https://github.com/satwiksps) in [#365](https://github.com/arviz-devs/arviz-plots/pull/365)
* Improve usage of quotation marks in documentation by [@star1327p](https://github.com/star1327p) in [#361](https://github.com/arviz-devs/arviz-plots/pull/361)


## New Contributors
Expand Down Expand Up @@ -231,7 +231,7 @@
* Docstring update in add_reference_lines by [@rohanbabbar04](https://github.com/rohanbabbar04) in [#225](https://github.com/arviz-devs/arviz-plots/pull/225)
* Correct a typo: currenly -> currently by [@star1327p](https://github.com/star1327p) in [#233](https://github.com/arviz-devs/arviz-plots/pull/233)
* Clean gallery description for ppc plots by [@aloctavodia](https://github.com/aloctavodia) in [#232](https://github.com/arviz-devs/arviz-plots/pull/232)
* Make example less cluncky by [@aloctavodia](https://github.com/aloctavodia) in [#234](https://github.com/arviz-devs/arviz-plots/pull/234)
* Make example less cluncky by [@aloctavodia](https://github.com/aloctavodia) in [#234](https://github.com/arviz-devs/arviz-plots/pull/234)
* Add link to John K. Kruschke's Doing Bayesian Data Analysis book by [@star1327p](https://github.com/star1327p) in [#238](https://github.com/arviz-devs/arviz-plots/pull/238)
* Add more variation to distribution examples by [@aloctavodia](https://github.com/aloctavodia) in [#242](https://github.com/arviz-devs/arviz-plots/pull/242)
* Add style to docs by [@aloctavodia](https://github.com/aloctavodia) in [#248](https://github.com/arviz-devs/arviz-plots/pull/248)
Expand Down
6 changes: 3 additions & 3 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ArviZ adopts the NumFOCUS Code of Conduct directly. In other words, we
expect our community to treat others with kindness and understanding.


# THE SHORT VERSION
# THE SHORT VERSION
Be kind to others. Do not insult or put down others.
Behave professionally. Remember that harassment and sexist, racist,
or exclusionary jokes are not appropriate.
Expand All @@ -30,7 +30,7 @@ emergency, we urge you to contact local law enforcement before making
a report. (In the U.S., dial 911.)**

We are committed to promptly addressing any reported issues.
If you have experienced or witnessed behavior that violates this
If you have experienced or witnessed behavior that violates this
Code of Conduct, please complete the form below to
make a report.

Expand All @@ -46,5 +46,5 @@ https://www.numfocus.org/privacy-policy

# Full Code of Conduct
The full text of the NumFOCUS/ArviZ Code of Conduct can be found on
NumFOCUS's website
NumFOCUS's website
https://numfocus.org/code-of-conduct
1 change: 0 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,3 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Loading
Loading