ipnbdoctest: ignore transform=".*"
This is another part of the SVG output thay may change with different versions of graphviz. * wrap/python/tests/ipnbdoctest.py: Here.
This commit is contained in:
parent
441d408b9e
commit
d1efe9a75a
1 changed files with 1 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ def sanitize(s):
|
||||||
s = re.sub(r'width="[0-9.]+pt"', 'width=""', s)
|
s = re.sub(r'width="[0-9.]+pt"', 'width=""', s)
|
||||||
s = re.sub(r'height="[0-9.]+pt"', 'height=""', s)
|
s = re.sub(r'height="[0-9.]+pt"', 'height=""', s)
|
||||||
s = re.sub(r'viewBox="[0-9 .-]*"', 'viewbox=""', s)
|
s = re.sub(r'viewBox="[0-9 .-]*"', 'viewbox=""', s)
|
||||||
|
s = re.sub(r'transform="[^"]*"', 'transform=""', s)
|
||||||
return s
|
return s
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue