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

"UnboundLocalError: local variable 'ax2' referenced before assignment" on msno.bar(df) #71

Closed
paulochf opened this issue Jun 28, 2018 · 1 comment

Comments

@paulochf
Copy link

Hello!

Just tried to run a msno.bar(df), but it returned the following

---------------------------------------------------------------------------
UnboundLocalError                         Traceback (most recent call last)
<command-823280> in <module>()
----> 1 msno.bar(df)

/databricks/python/lib/python3.5/site-packages/missingno/missingno.py in bar(df, figsize, fontsize, labels, log, color, inline, filter, n, p, sort)
    245     ax3.grid(False)
    246 
--> 247     for ax in [ax1, ax2, ax3]:
    248         ax.spines['top'].set_visible(False)
    249         ax.spines['right'].set_visible(False)

UnboundLocalError: local variable 'ax2' referenced before assignment
@paulochf paulochf changed the title msno.bar(df) error UnboundLocalError: local variable 'ax2' referenced before assignment on msno.bar(df) Jun 28, 2018
@paulochf paulochf changed the title UnboundLocalError: local variable 'ax2' referenced before assignment on msno.bar(df) "UnboundLocalError: local variable 'ax2' referenced before assignment" on msno.bar(df) Jun 28, 2018
@ResidentMario
Copy link
Owner

Fixed in 0.4.1, pip install -u missingno to get it.

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