Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 491ef06

Browse files
authored
Merge pull request #21986 from anntzer/invlogma
2 parents d1fb1b4 + fe17c75 commit 491ef06

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/matplotlib/scale.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
import textwrap
1717

1818
import numpy as np
19-
from numpy import ma
2019

2120
import matplotlib as mpl
2221
from matplotlib import _api, docstring
@@ -251,7 +250,7 @@ def __str__(self):
251250
return "{}(base={})".format(type(self).__name__, self.base)
252251

253252
def transform_non_affine(self, a):
254-
return ma.power(self.base, a)
253+
return np.power(self.base, a)
255254

256255
def inverted(self):
257256
return LogTransform(self.base)

0 commit comments

Comments
 (0)