Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add behaviour change file
  • Loading branch information
joshbarrass committed Oct 16, 2022
commit e23ebe348e5a27e997daf1d80b3510acf3fe494b
9 changes: 9 additions & 0 deletions doc/api/next_api_changes/behavior/24188-JB.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
`fig.subplot_mosaic` no longer passes the `width_ratios` or `height_ratios` args to the nested gridspecs.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Previously, the entirety of the `gridspec_kw` dictionary was passed to
the nested gridspecs. This caused an error if the inner layout was
incompatible with one of these ratios. A new dictionary is now made,
`nested_gs_kw`, where the `"width_ratios"` and `"height_ratios"` keys
have been removed, which is passed to any nested gridspecs. This
prevents such errors.