File tree 3 files changed +3
-3
lines changed
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"""
117
117
118
118
import re
119
119
_subplotid_prop_re = re.compile(
120
- '^(' + '|'.join(_subplotid_prop_names) + ')(\d+)$')
120
+ '^(' + '|'.join(_subplotid_prop_names) + r ')(\d+)$')
121
121
"""
122
122
)
123
123
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class BaseFigure(object):
23
23
Base class for all figure types (both widget and non-widget)
24
24
"""
25
25
26
- _bracket_re = re .compile ("^(.*)\[(\d+)\]$" )
26
+ _bracket_re = re .compile (r "^(.*)\[(\d+)\]$" )
27
27
28
28
_valid_underscore_properties = {
29
29
"error_x" : "error-x" ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class Layout(_BaseLayoutType):
17
17
18
18
import re
19
19
20
- _subplotid_prop_re = re .compile ("^(" + "|" .join (_subplotid_prop_names ) + ")(\d+)$" )
20
+ _subplotid_prop_re = re .compile ("^(" + "|" .join (_subplotid_prop_names ) + r ")(\d+)$" )
21
21
22
22
@property
23
23
def _subplotid_validators (self ):
You can’t perform that action at this time.
0 commit comments