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

Do not fail when markers are numpy integers#30838

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
has2k1 wants to merge1 commit intomatplotlib:main
base:main
Choose a base branch
Loading
fromhas2k1:fix-numpy-integer-markers

Conversation

@has2k1
Copy link
Contributor

PR summary

Do not fail when marker values are numpy integers e.g.np.int64(4).

The rationale is, matplotlib exists in an ecosystem where pandas and numpy container types are prevalent. When the containers (pd.Series,np.array) contain only integer values, they do not preserve the originalint type when the values come out. i.e.ints go innp.int64s come out. With this PR anint type marker that goes into these containers will still recognised as a marker when it comes out.

closes#30836

PR checklist

Copy link
Member

@timhoffmtimhoffm left a comment
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

As explained in#30836, I think this is the wrong approach. If we go down this road, next somebody will come along and requests support for pytorch.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@timhoffmtimhoffmtimhoffm requested changes

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Bug]: Markers can be integers, but numpy integers fail

2 participants

@has2k1@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp