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 471e668 commit 7ab92deCopy full SHA for 7ab92de
lib/matplotlib/ticker.py
@@ -1003,10 +1003,11 @@ def _symlog(self):
1003
linthresh=self._linthresh,
1004
linscale=self._linscale)
1005
return True
1006
- transf = self.axis.get_transform()
1007
- if hasattr(transf, 'linthresh'):
1008
- self._symlogutil = _SymmetricalLogUtil(transf)
+ try:
+ self._symlogutil = _SymmetricalLogUtil(self.axis.get_transform())
1009
+ except AttributeError:
1010
+ pass
1011
return False
1012
1013
def set_locs(self, locs=None):
0 commit comments