arviz-devs / arviz

Exploratory analysis of Bayesian models with Python
https://python.arviz.org
Apache License 2.0
1.56k stars 388 forks source link

plot_ppc related fixes #2283

Closed OriolAbril closed 8 months ago

OriolAbril commented 9 months ago

Description

Modify plot_ppc default labeling and several plot_ppc fixes, mainly working properly when chain and draw aren't the first dimensions positionally

Checklist


:books: Documentation preview :books:: https://arviz--2283.org.readthedocs.build/en/2283/

codecov[bot] commented 9 months ago

Codecov Report

Merging #2283 (1b06391) into main (4557004) will increase coverage by 0.07%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2283      +/-   ##
==========================================
+ Coverage   86.71%   86.78%   +0.07%     
==========================================
  Files         122      122              
  Lines       12459    12460       +1     
==========================================
+ Hits        10804    10814      +10     
+ Misses       1655     1646       -9     
Files Coverage Δ
arviz/labels.py 93.67% <100.00%> (+0.16%) :arrow_up:
arviz/plots/backends/matplotlib/ppcplot.py 97.63% <ø> (-0.02%) :arrow_down:
arviz/plots/ppcplot.py 89.33% <ø> (ø)

... and 2 files with indirect coverage changes