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

Allow title_quantiles inheritance from quantiles only if len (quantiles)==3 #244

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sybreton
Copy link

@sybreton sybreton commented Nov 30, 2023

title_quantiles inherits quantiles values only if len(quantiles)==3, update accordingly documentation for show_title and title_quantiles.

This should restore backwards compatibility with corner <= 2.2.1, before the argument title_quantiles existed, where quantiles lists of arbitrary length could be passed together to show_title=True.

See issue #237 and #193.

Close #237

sybreton and others added 2 commits November 30, 2023 15:40
…update accordingly documentation for show_title and title_quantiles
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

Successfully merging this pull request may close these issues.

Having title_quantiles=None when quantiles is passed without having exactly 3 elements raises a ValueError
1 participant