[Libreoffice-bugs] [Bug 130126] New: svg file (created with matplotlib) not displaying correctly in Impress

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jan 22 16:26:12 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=130126

            Bug ID: 130126
           Summary: svg file (created with matplotlib) not displaying
                    correctly in Impress
           Product: LibreOffice
           Version: 6.3.4.2 release
          Hardware: x86-64 (AMD64)
                OS: Mac OS X (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: andrea.pogliani at protonmail.com

Description:
Hi. I am trying to import a .svg plot I made with matplotlib in an Impress
presentation. The plot is a loglog plot. The issue is that in the displayed
plot the line goes beyond the axis, which it shouldn't. It seemed to be a
matplotlib issue with librsvg, but they say they solved it
(https://github.com/matplotlib/matplotlib/issues/4341) so I was wondering if
anybody has encountered this kind of probems in libreoffice. I am using: macos
10.13.6, libreoffice 6.3.4.2, matplotlib 3.1.1. The file is displayed correctly
in a browser.

Steps to Reproduce:
1. Produce a loglog plot with matplotlib and save it to a svg file
2. import it in impress

Actual Results:
The line of the plot goes beyond the axis line, till the border of the image. 

Expected Results:
The plot should be rendered as it should be.


Reproducible: Always


User Profile Reset: No



Additional Info:
here is a link to the svg file. https://pastebin.com/HrPnQ5W8 
You can download it and try to import in a browser and in impress to see the
difference.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200122/5b4fd4db/attachment.htm>


More information about the Libreoffice-bugs mailing list