Seaborn: "No" is not an actionable error message

Created on 18 May 2018  路  1Comment  路  Source: mwaskom/seaborn

When providing the "jet" color palette, the library raises ValueError: No.. It's not clear to the programmer what the issue is as the error is non-descriptive and unactionable, although upon reviewing the source to see it singles out jet and the documentation for the much cleaner explanation of the philosophical argument for not using this palette it becomes more clear.

Perhaps this could be improved to 1) allow the developer to choose an arguably bad palette if they want with a warning, or 2) provide more descriptive error which includes a link to the much better explanation in the documentation.

Most helpful comment

No.

>All comments

No.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stonebig picture stonebig  路  4Comments

queryous picture queryous  路  4Comments

amelio-vazquez-reina picture amelio-vazquez-reina  路  4Comments

phantom0301 picture phantom0301  路  3Comments

sungshine picture sungshine  路  3Comments