Skip to content

Commit 3219ceb

Browse files
committed
regex compat
1 parent ad6ba8b commit 3219ceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/python/plotly/plotly/validator_cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def get_validator(parent_path, prop_name):
2121

2222
match = Layout._subplotid_prop_re.match(prop_name)
2323
if match:
24-
lookup_name = match[1]
24+
lookup_name = match.group(1)
2525

2626
lookup_name = lookup_name or prop_name
2727
class_name = lookup_name.title() + "Validator"

0 commit comments

Comments
 (0)