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

Fixing Issue #21879: Changed int to round to help with floating point issue#27473

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
iimimii wants to merge6 commits intomatplotlib:main
base:main
Choose a base branch
Loading
fromoliviavanzandt:v2mimi

Conversation

iimimii
Copy link

@iimimiiiimimii commentedDec 8, 2023
edited
Loading

PR summary

For this issue:#21879

However, I reached an issue with purging the development environment. The development environment folder no longer showed up on my local computer, but was still showing in the GitHub repo in the pull request. When I continued to try and remove the environment I was not able to make any more commits. So I decided to reclone the repo and fix the code without setting up a development environment.

The original issue was a valueError that was caused by incorrect rounding of array values. In order to fix the rounding bug, we changed the int casting into round instead. This should solve the rounding bug and improve functionality of matplotlib.

Update

Received a comment about generating the same output images. I attempted casting the rounded values back into the int type to hopefully prevent images from generating differently. I also removed np.ciel from line 102 of the code.

PR checklist

@tacaswell
Copy link
Member

As with#8265 I expect this to change out put images.

@dstansbydstansby changed the titleFixing Issue #21879: Changed int to round to help with floating point issue (purged development environment)Fixing Issue #21879: Changed int to round to help with floating point issueJan 14, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
Status: Needs review
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@iimimii@tacaswell

[8]ページ先頭

©2009-2025 Movatter.jp