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

FIX: gracefully deal with empty size lists #4710

Merged
merged 2 commits into from Jul 16, 2015

Conversation

tacaswell
Copy link
Member

In HandlerRegularPolyCollection gracefully deal with empty
size lists.

Fixes #4365

In HandlerRegularPolyCollection gracefully deal with empty
size lists.

Fixes matplotlib#4365
@tacaswell tacaswell added this to the next point release milestone Jul 16, 2015
@jenshnielsen
Copy link
Member

Interestingly this fails on the scatter_with_legend.py example in the docs build. So whatever that example does should be converted into a test ;)

@tacaswell
Copy link
Member Author

fixed and moved that example into the tests as a smoke test.

Apparently we don't have image test coverage of a scatter plot with a legend?!

@tacaswell
Copy link
Member Author

no, it looks like there is something subtle going on as the rest of the tests use lists, not arrays

@tacaswell
Copy link
Member Author

no, we don't test non-scalar sizes anywhere else.

@WeatherGod
Copy link
Member

The fix here looks good to me, I just don't know if you are planning to do anything more in this PR.

@tacaswell
Copy link
Member Author

I am done for now. I think scatter needs some concerted clean up and testing effort which I don't want to try to shoe horn in to the next few weeks.

WeatherGod added a commit that referenced this pull request Jul 16, 2015
FIX: gracefully deal with empty size lists
@WeatherGod WeatherGod merged commit 1cfdc2e into matplotlib:master Jul 16, 2015
@tacaswell tacaswell deleted the fix_empty_scatter branch July 16, 2015 14:12
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

Successfully merging this pull request may close these issues.

None yet

3 participants