You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, it used **kwargs, because it needs to distinguish between
"value not given" and given value is None. A while ago, we have
introduced the UNSET sentinel for these cases (in the context of Artist
.set()). The PR moves this sentinel to `matplotlib._api` to make it
usable also for gridspec.
Technically, there's an API change here, because the old code raised an
AttibuteError for invalid keys. This is now a TypeError by the standards
when an invalid keyword argument is used. I consider the old behavior
suboptimal as it was not adhereing to standards. I will let the change
go without notice because I assume nobody will explicitly catch the
exception of an invalid parameter name passed to `GridSpec.update()`.
0 commit comments