File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ class {datatype_class}(_{node.name_base_datatype}):\n"""
117117
118118 import re
119119 _subplotid_prop_re = re.compile(
120- '^(' + '|'.join(_subplotid_prop_names) + ')(\d+)$')
120+ '^(' + '|'.join(_subplotid_prop_names) + r ')(\d+)$')
121121"""
122122 )
123123
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class BaseFigure(object):
2323 Base class for all figure types (both widget and non-widget)
2424 """
2525
26- _bracket_re = re .compile ("^(.*)\[(\d+)\]$" )
26+ _bracket_re = re .compile (r "^(.*)\[(\d+)\]$" )
2727
2828 _valid_underscore_properties = {
2929 "error_x" : "error-x" ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class Layout(_BaseLayoutType):
1717
1818 import re
1919
20- _subplotid_prop_re = re .compile ("^(" + "|" .join (_subplotid_prop_names ) + ")(\d+)$" )
20+ _subplotid_prop_re = re .compile ("^(" + "|" .join (_subplotid_prop_names ) + r ")(\d+)$" )
2121
2222 @property
2323 def _subplotid_validators (self ):
You can’t perform that action at this time.
0 commit comments