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

KeyError: 'rows' in waffle.py #8

Closed
cecilebraun opened this issue Sep 18, 2018 · 2 comments
Closed

KeyError: 'rows' in waffle.py #8

cecilebraun opened this issue Sep 18, 2018 · 2 comments

Comments

@cecilebraun
Copy link

Hi,
I tried your last example Multiple plot and had the following error

figsize=(9, 5) # figsize is a parameter of plt.figure
File "/usr/local/lib/python3.6/dist-packages/matplotlib/pyplot.py", line 533, in figure
**kwargs)
File "/usr/local/lib/python3.6/dist-packages/matplotlib/backend_bases.py", line 160, in new_figure_manager
fig = fig_cls(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/pywaffle/waffle.py", line 165, in init
self._waffle(loc, **copy.deepcopy(setting))
File "/usr/local/lib/python3.6/dist-packages/pywaffle/waffle.py", line 174, in _waffle
if len(self._pa['values']) == 0 or not self._pa['rows']:
KeyError: 'rows'

@gyli
Copy link
Owner

gyli commented Sep 19, 2018

That's a good one. I have fixed this in 0.1.0 version, please check it out!

@gyli gyli closed this as completed Sep 19, 2018
@cecilebraun
Copy link
Author

Thanks !

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

2 participants