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

Qt figure options legend crash with no labels #4599

Closed
rmccampbell opened this issue Jul 7, 2015 · 1 comment
Closed

Qt figure options legend crash with no labels #4599

rmccampbell opened this issue Jul 7, 2015 · 1 comment
Assignees

Comments

@rmccampbell
Copy link

When no lines have labels, a legend is not generated by the legend() function, and the option in the Qt Figure Options dialog crashes because of a None reference; simply adding a None check in figureoptions.py fixes it.

@tacaswell
Copy link
Member

@rmccampbell Thanks for reporting this. In the future, if you know how to fix bugs we ❤️ pull requests.

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