Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plot_pava_calibrarion: Add reference, fix xlabel #132

Merged
merged 1 commit into from
Feb 12, 2025
Merged
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
8 changes: 7 additions & 1 deletion src/arviz_plots/plots/pavacalibrationplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ def plot_pava_calibration(
-------
PlotCollection

References
----------
Dimitriadis, T., Gneiting, T., and Jordan, A. I. (2021).
Stable reliability diagrams for probabilistic classifiers.
PNAS, 118(8):e2016191118. https://doi.org/10.1073/pnas.2016191118

Examples
--------
Plot the PAVA calibration plot for the rugby dataset.
Expand Down Expand Up @@ -253,7 +259,7 @@ def plot_pava_calibration(
if "color" not in xlabels_aes:
xlabel_kwargs.setdefault("color", "black")

xlabel_kwargs.setdefault("text", "forecasted value")
xlabel_kwargs.setdefault("text", "forecast value")

plot_collection.map(
labelled_x,
Expand Down