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 f3f1b4b commit 2e4bd65Copy full SHA for 2e4bd65
lib/matplotlib/transforms.py
@@ -110,7 +110,7 @@ class TransformNode:
110
invalidated, even if 'self' is already invalid.
111
"""
112
113
- def __init__(self, shorthand_name=''):
+ def __init__(self, shorthand_name=None):
114
115
Parameters
116
----------
@@ -122,7 +122,7 @@ def __init__(self, shorthand_name=''):
122
self._parents = {}
123
# Initially invalid, until first computation.
124
self._invalid = self._INVALID_FULL
125
- self._shorthand_name = shorthand_name
+ self._shorthand_name = shorthand_name or ''
126
127
if DEBUG:
128
def __str__(self):
0 commit comments