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

do_nd: save plot with 'tight' bbox #4360

Merged
merged 3 commits into from
Jul 6, 2022

Conversation

ThorvaldLarsen
Copy link
Contributor

For tick marks with long labels sometimes the axis label gets pushed out of the canvas window and not visible in the saved png files. Add argument with tight fitting of bbox for matplotlib savefig to ensure full figure with all labels is included in the saved png.

@codecov
Copy link

codecov bot commented Jul 5, 2022

Codecov Report

Merging #4360 (309370f) into master (02e4e08) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #4360   +/-   ##
=======================================
  Coverage   68.35%   68.35%           
=======================================
  Files         275      275           
  Lines       31014    31014           
=======================================
  Hits        21199    21199           
  Misses       9815     9815           

@astafan8 astafan8 enabled auto-merge July 6, 2022 10:36
@astafan8 astafan8 changed the title Plot save with 'tight' bbox do_nd: save plot with 'tight' bbox Jul 6, 2022
@astafan8 astafan8 merged commit 03a12ab into microsoft:master Jul 6, 2022
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

2 participants