ad779b4391ae365c0f6424e311317470a70c6972,lib/matplotlib/_constrained_layout.py,,do_constrained_layout,#Any#Any#Any#Any#Any#Any#,81
Before Change
// so this does the same w/o zeroing layout.
ax._set_position(newpos, which="original")
else:
warnings.warn("constrained_layout not applied. At least "
"one axes collapsed to zero width or height.")
def _make_ghost_gridspec_slots(fig, gs):
After Change
if gs._layoutbox is not None:
gss.add(gs)
if len(gss) == 0:
cbook._warn_external("There are no gridspecs with layoutboxes. "
"Possibly did not call parent GridSpec with the"
" figure= keyword")
if fig._layoutbox.constrained_layout_called < 1:
for gs in gss:
// fill in any empty gridspec slots w/ ghost axes...
In pattern: SUPERPATTERN
Frequency: 12
Non-data size: 4
Instances
Project Name: matplotlib/matplotlib
Commit Name: ad779b4391ae365c0f6424e311317470a70c6972
Time: 2018-10-29
Author: hershen@gmail.com
File Name: lib/matplotlib/_constrained_layout.py
Class Name:
Method Name: do_constrained_layout
Project Name: matplotlib/matplotlib
Commit Name: ad779b4391ae365c0f6424e311317470a70c6972
Time: 2018-10-29
Author: hershen@gmail.com
File Name: lib/matplotlib/backend_managers.py
Class Name: ToolManager
Method Name: add_tool
Project Name: matplotlib/matplotlib
Commit Name: ad779b4391ae365c0f6424e311317470a70c6972
Time: 2018-10-29
Author: hershen@gmail.com
File Name: lib/matplotlib/contour.py
Class Name: QuadContourSet
Method Name: _contour_args
Project Name: matplotlib/matplotlib
Commit Name: ad779b4391ae365c0f6424e311317470a70c6972
Time: 2018-10-29
Author: hershen@gmail.com
File Name: lib/matplotlib/bezier.py
Class Name:
Method Name: get_parallels
Project Name: matplotlib/matplotlib
Commit Name: ad779b4391ae365c0f6424e311317470a70c6972
Time: 2018-10-29
Author: hershen@gmail.com
File Name: lib/matplotlib/contour.py
Class Name: ContourSet
Method Name: _contour_level_args
Project Name: matplotlib/matplotlib
Commit Name: ad779b4391ae365c0f6424e311317470a70c6972
Time: 2018-10-29
Author: hershen@gmail.com
File Name: lib/matplotlib/figure.py
Class Name: Figure
Method Name: execute_constrained_layout
Project Name: matplotlib/matplotlib
Commit Name: ad779b4391ae365c0f6424e311317470a70c6972
Time: 2018-10-29
Author: hershen@gmail.com
File Name: lib/matplotlib/axis.py
Class Name: Axis
Method Name: grid
Project Name: matplotlib/matplotlib
Commit Name: ad779b4391ae365c0f6424e311317470a70c6972
Time: 2018-10-29
Author: hershen@gmail.com
File Name: lib/matplotlib/figure.py
Class Name: Figure
Method Name: gca
Project Name: matplotlib/matplotlib
Commit Name: ad779b4391ae365c0f6424e311317470a70c6972
Time: 2018-10-29
Author: hershen@gmail.com
File Name: lib/matplotlib/figure.py
Class Name: Figure
Method Name: tight_layout
Project Name: matplotlib/matplotlib
Commit Name: ad779b4391ae365c0f6424e311317470a70c6972
Time: 2018-10-29
Author: hershen@gmail.com
File Name: lib/matplotlib/figure.py
Class Name: Figure
Method Name: subplots
Project Name: matplotlib/matplotlib
Commit Name: ad779b4391ae365c0f6424e311317470a70c6972
Time: 2018-10-29
Author: hershen@gmail.com
File Name: lib/matplotlib/contour.py
Class Name: ContourSet
Method Name: __init__
Project Name: matplotlib/matplotlib
Commit Name: ad779b4391ae365c0f6424e311317470a70c6972
Time: 2018-10-29
Author: hershen@gmail.com
File Name: lib/matplotlib/figure.py
Class Name: Figure
Method Name: subplots_adjust