File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -2582,23 +2582,6 @@ def get_label(y, default_name):
2582
2582
except AttributeError :
2583
2583
return default_name
2584
2584
2585
- # Numpy > 1.6.x deprecates putmask in favor of the new copyto.
2586
- # So long as we support versions 1.6.x and less, we need the
2587
- # following local version of putmask. We choose to make a
2588
- # local version of putmask rather than of copyto because the
2589
- # latter includes more functionality than the former. Therefore
2590
- # it is easy to make a local version that gives full putmask
2591
- # behavior, but duplicating the full copyto behavior would be
2592
- # more difficult.
2593
-
2594
- try :
2595
- np .copyto
2596
- except AttributeError :
2597
- _putmask = np .putmask
2598
- else :
2599
- def _putmask (a , mask , values ):
2600
- return np .copyto (a , values , where = mask )
2601
-
2602
2585
_lockstr = """\
2603
2586
LOCKERROR: matplotlib is trying to acquire the lock
2604
2587
{!r}
You can’t perform that action at this time.
0 commit comments