Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 092f833 commit fe17c75Copy full SHA for fe17c75
1 file changed
lib/matplotlib/scale.py
@@ -16,7 +16,6 @@
16
import textwrap
17
18
import numpy as np
19
-from numpy import ma
20
21
import matplotlib as mpl
22
from matplotlib import _api, docstring
@@ -251,7 +250,7 @@ def __str__(self):
251
250
return "{}(base={})".format(type(self).__name__, self.base)
252
253
def transform_non_affine(self, a):
254
- return ma.power(self.base, a)
+ return np.power(self.base, a)
255
256
def inverted(self):
257
return LogTransform(self.base)
0 commit comments