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

Float not properly cast to str with text plots #69

Closed
cphalpert opened this issue Feb 20, 2019 · 1 comment
Closed

Float not properly cast to str with text plots #69

cphalpert opened this issue Feb 20, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@cphalpert
Copy link
Contributor

Thanks for finding @Danela!

label_test = pd.DataFrame({'value': [.20, .40, .05, .6, .2, .8],
'bucket': [1, 2, 3, 1, 2, 3],
'platform': ['android', 'android', 'android', 'ios', 'ios', 'ios'],
'value2': [1.0, 2.0, 3, 6., 8., 10.]
})
ch = chartify.Chart(x_axis_type='categorical')
ch.plot.bar(label_test, ['bucket', 'platform'], 'value')
ch.plot.text(label_test, ['bucket', 'platform'], 'value', 'value2')
ch.show()

@cphalpert cphalpert added the bug Something isn't working label Feb 20, 2019
@cphalpert
Copy link
Contributor Author

cphalpert commented Mar 8, 2019

#72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant