Skip to content

Commit 2e4bd65

Browse files
committed
revert change to shorthand
1 parent f3f1b4b commit 2e4bd65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/transforms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class TransformNode:
110110
invalidated, even if 'self' is already invalid.
111111
"""
112112

113-
def __init__(self, shorthand_name=''):
113+
def __init__(self, shorthand_name=None):
114114
"""
115115
Parameters
116116
----------
@@ -122,7 +122,7 @@ def __init__(self, shorthand_name=''):
122122
self._parents = {}
123123
# Initially invalid, until first computation.
124124
self._invalid = self._INVALID_FULL
125-
self._shorthand_name = shorthand_name
125+
self._shorthand_name = shorthand_name or ''
126126

127127
if DEBUG:
128128
def __str__(self):

0 commit comments

Comments
 (0)