Show More
@@ -409,7 +409,7 b' class SVG(DisplayObject):' | |||||
409 | # get svg tag (should be 1) |
|
409 | # get svg tag (should be 1) | |
410 | found_svg = x.getElementsByTagName('svg') |
|
410 | found_svg = x.getElementsByTagName('svg') | |
411 | if found_svg: |
|
411 | if found_svg: | |
412 | # If the user request scoping, tag the svg with the |
|
412 | # If the user requests scoping, tag the svg with the | |
413 | # ipython-scoped class |
|
413 | # ipython-scoped class | |
414 | if self.scoped: |
|
414 | if self.scoped: | |
415 | classes = (found_svg[0].getAttribute('class') + |
|
415 | classes = (found_svg[0].getAttribute('class') + |
@@ -502,7 +502,7 b' var IPython = (function (IPython) {' | |||||
502 | // To avoid style or use collisions between multiple svg figures, |
|
502 | // To avoid style or use collisions between multiple svg figures, | |
503 | // svg figures are wrapped inside an iframe. |
|
503 | // svg figures are wrapped inside an iframe. | |
504 | var iframe = $('<iframe/>') |
|
504 | var iframe = $('<iframe/>') | |
505 |
|
|
505 | iframe.attr('frameborder', 0); | |
506 | iframe.attr('scrolling', 'no'); |
|
506 | iframe.attr('scrolling', 'no'); | |
507 |
|
507 | |||
508 | // Once the iframe is loaded, the svg is dynamically inserted |
|
508 | // Once the iframe is loaded, the svg is dynamically inserted |
General Comments 0
You need to be logged in to leave comments.
Login now