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

Error msg in Bars validate_series looks wrong #94

Open
wdoekes opened this issue Nov 25, 2019 · 0 comments
Open

Error msg in Bars validate_series looks wrong #94

wdoekes opened this issue Nov 25, 2019 · 0 comments
Labels

Comments

@wdoekes
Copy link

wdoekes commented Nov 25, 2019

        if series.data_type(X) is not Number:
            raise ValueError('Bars only support Number values for the Y axis.')

        if series.data_type(Y) is not Text:
            raise ValueError('Bars only support Text values for the X axis.')

If the Bars are rows of horizontal bars, then the checks are correct, but the error message saying Y should be X, and vice versa.

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

No branches or pull requests

2 participants