Skip to content

Remove numpy 1.6 specific work-arounds  #7484

@tacaswell

Description

@tacaswell

In #7396 / #7483 we bumped the minimum numpy version to 1.7.1. We have a number of workarounds in the code base which should be removed

From master:

09:41 $ ack -i 'numpy.*1\.6' --python
lib/matplotlib/cbook.py
2585:# Numpy > 1.6.x deprecates putmask in favor of the new copyto.

lib/matplotlib/tri/triinterpolate.py
1270:        # - it is new in numpy 1.6

lib/matplotlib/category.py
17:#  pure hack for numpy 1.6 support
83:    """Helper function for numpy 1.6, can be replaced with

lib/matplotlib/tests/test_category.py
160:        # Image test would fail on numpy 1.6

lib/matplotlib/colors.py
179:    # Python 2.7 / numpy 1.6 apparently require this to return builtin floats,

I would prefer is we not backport these for 2.0 (just being excessively conservative).

attn @story645

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty: Easyhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issues

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy