10000 Remove numpy 1.6 specific work-arounds · Issue #7484 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
Remove numpy 1.6 specific work-arounds  #7484
Closed
@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

      0