Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[MNT]:set vsupdate #24702

Open
Open
@oscargus

Description

@oscargus

Summary

It seems to me that the general trend is thatset takes keyword arguments, whileupdate takes a dict. Hence,
one can do something like:

d= {'key1':'val','key2':2}obj.update(d)# orobj.set(**d)# orobj.set(key1='val',key2=2)

However, this is not fully consistent.

Proposed fix

Make this consistent, probably through some deprecation path. Especially, allset methods seems to be OK, but someupdate methods appears to use theset approach, especiallySubplotParams,GridSpec andGridFinder.

Is there a specific reason for this? (I take it that forGridFinder, there is thempl_toolkits-is-not-that-well-maintained issue.)

Then, at leastText only has anupdate and not aset. Inherited.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp