Skip to content

MNT: allow 0 sized figures - #17610

Merged
jklymak merged 1 commit into
matplotlib:masterfrom
tacaswell:enh_zero_size_figure
Jun 11, 2020
Merged

jklymak merged 1 commit into
matplotlib:masterfrom
tacaswell:enh_zero_size_figure

Conversation

@tacaswell

Copy link
Copy Markdown
Member

PR Summary

This can happen if the figure is embedded in a larger GUI application.

Closes #17093

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 8 compliant

This can happen if the figure is embedded in a larger GUI application.

Closes matplotlib#17093
@tacaswell tacaswell added this to the v3.3.0 milestone Jun 10, 2020

@QuLogic QuLogic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It didn't seem too fatal in my testing, other than Pillow raising weirder errors than it should.

@jklymak
jklymak merged commit 2348faa into matplotlib:master Jun 11, 2020
@tacaswell
tacaswell deleted the enh_zero_size_figure branch June 12, 2020 03:09
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.

Zero size figure use case

3 participants