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

Odd bug in geom_tile #645

Open
Deom23 opened this issue Jun 12, 2018 · 1 comment
Open

Odd bug in geom_tile #645

Deom23 opened this issue Jun 12, 2018 · 1 comment

Comments

@Deom23
Copy link

Deom23 commented Jun 12, 2018

This stems from the comments in this issue, im not sure anyone ever opened a ticket to resolve the issue.

The following code gives this error: raises TypeError: can't multiply sequence by non-int of type 'float'

import pandas as pd
import numpy as np
from ggplot import ggplot, aes, geom_tile, xlab, ylab, ggtitle
df = pd.DataFrame({'x': ['a', 'b', 'c', 'a'], 'y': [
                  3, 2, 1, 2], 'fill': np.random.random(4)})
ggplot(aes(x='x', y='y', fill='fill'), data=df) + geom_tile() + \
    xlab('X Label') + ylab('Y Label') + ggtitle('This is geom_tile!\n')
@Deom23
Copy link
Author

Deom23 commented Oct 1, 2018

Can we get some attention to this?

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

1 participant