Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: cast input to Rectangle to float #4752

Merged
merged 1 commit into from Jul 22, 2015

Conversation

tacaswell
Copy link
Member

If user passes in uint, can get integer overflow (from trying
to negate it). Cast all the input to Rectangle to float to be
safe.

Closes #4751

If user passes in uint, can get integer overflow (from trying
to negate it).  Cast all the input to Rectangle to float to be
safe.

Closes matplotlib#4751
@tacaswell tacaswell added this to the next point release milestone Jul 22, 2015
WeatherGod added a commit that referenced this pull request Jul 22, 2015
FIX: cast input to Rectangle to float
@WeatherGod WeatherGod merged commit 60e21f0 into matplotlib:master Jul 22, 2015
@tacaswell tacaswell deleted the fix_rect_uint branch July 22, 2015 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants