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

Some plots not possible for single parameter #297

Open
stemasc opened this issue Feb 3, 2025 · 1 comment
Open

Some plots not possible for single parameter #297

stemasc opened this issue Feb 3, 2025 · 1 comment

Comments

@stemasc
Copy link

stemasc commented Feb 3, 2025

Quick fixes:

To calibration_ecdf.py add in line 157:
if not isinstance(plot_data["axes"], np.ndarray):
plot_data["axes"] = np.array([plot_data["axes"]])

To plot_utils.py add:

if not isinstance(axes, np.ndarray):
axes = np.array([axes])

in:

  1. prettify_subplots
  2. add_x_labels
  3. add_y_labels
    respectively at the beginning of the function
@paul-buerkner
Copy link
Contributor

Thank you! Would you mind making a small PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants