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

Matplotlib boxplot bug #1163

Merged
merged 3 commits into from
Feb 28, 2017
Merged

Matplotlib boxplot bug #1163

merged 3 commits into from
Feb 28, 2017

Conversation

philippjfr
Copy link
Member

BoxPlot raises an error when put in a Layout currently, small fix to ensure it doesn't. Also snuck in a style parameter for HistogramPlot.

@philippjfr philippjfr added type: bug Something isn't correct or isn't working tag: backend: mpl labels Feb 27, 2017
style.pop('zorder')
style.pop('label')
style.pop('zorder', None)
style.pop('label', None)
Copy link
Contributor

@jlstevens jlstevens Feb 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

None is the default if unset? If you just want to remove these keys we might want to switch to:

style = {k:v for k,v in style.items() if k not in ['zorder', 'label']}

I might prefer this to using pop, especially as you aren't using the popped value(s).

@jlstevens
Copy link
Contributor

Looks good. Merging.

@jlstevens jlstevens merged commit 3aa315f into master Feb 28, 2017
@philippjfr philippjfr deleted the mpl_chart_fixes branch April 11, 2017 12:30
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
tag: backend: mpl type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants