Skip to content
Snippets Groups Projects

Removes all tight_layout calls

Merged Loïc Le Guyader requested to merge no_tight_layout into master

Matplotlib offers constrained layouts:

https://matplotlib.org/stable/tutorials/intermediate/constrainedlayout_guide.html

which performs better than tight layouts:

https://github.com/matplotlib/cheatsheets/issues/30#issuecomment-655594205

At the same time, tight layout is known to trigger certain bugs. For example:

https://github.com/matplotlib/ipympl/issues/335

Here we remove all call to tight_layout in the toolbox. @carinanc @mercurio

Edited by Loïc Le Guyader

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading