<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">Hi all,</p>
<p dir="auto">I know a lot of bandwidth has been taken up w/ the 2.1 release, but that seems to be settling down now. I’ve been working hard on the constraint-driven layout. This is an alternate to <code>tight_layout</code>, and based on <a href="https://github.com/nucleic/kiwi/tree/master/py">kiwi-solver</a> I think its mostly feature-complete at this point, and handles numerous situations not handled by <code>tight_layout</code> like <code>suptitle</code>, over-spilling legends, colorbars that belong to a group of axes (as opposed to just one axis), nested gridspecs, etc. (Conversely, it doesn’t work at all w/ <code>plt.subplot</code> or <code>plt.subplot2grid</code> because each call to these functions makes their own gridspec, and we do the layout within individual gridspecs).</p>
<p dir="auto">I’m writing to appeal for some help testing this, or coming up with situations that I didn’t think about. There is one request for AnchoredOffsetBoxes, which I haven’t done yet, but I think that is a 0.2 feature once folks think the basic idea is OK. I’m also more than open to addressing any implementation concerns/suggestions. </p>
<p dir="auto">Right now, automatic installation only works with python 3.6 because we require kiwi-solver gitub master version for python 2.7. But you should be able to install with <code>pip install .</code> into a virtualenv. </p>
<p dir="auto"><a href="https://github.com/matplotlib/matplotlib/pull/9082">https://github.com/matplotlib/matplotlib/pull/9082</a></p>
<p dir="auto">There is also a guide in <code>tutorials/intermediate/constrainedlayout_guide.py</code>. It probably still has some rough edges, but suggestions welcome.</p>
<p dir="auto">Thanks for any help. </p>
<p dir="auto">Cheers, Jody</p>
</div>
</div>
</body>
</html>