Color disappears after importing a dot plot (svg format).

asked 2016-10-02 17:58:35 +0200

Hi,

I have a problem with importing svg images. Please help me.

I generated a dot plot with .svg format using the savefig function in matplotlib. When I import the svg image in Libreoffice Draw, dot colors become grey. (Only markerface color changes. line colors remains). The same thing happens in Impress.

The cause could be some set-up issue in liberoffice or my laptop... Other software like image viewer or inkscape show the expected colors. Libreoffice 4.2.8.2 in other computer also displays the plot well.

I am using Libreoffice 5.1.4.2. I was going to attach some pictures. However, i cannot do it now due to the lack of my points! I will upload picture as soon as I can.

edit retag flag offensive close merge delete

Comments

I encountered the same problem: the filling colors of the markers (which are based on shapes, such as square, triangle) of the exported svg images from matplotlib do appear as black. This problem happens when these images are imported to Writer or Draw (these are the ones I tested), but for example Gimp imports without any problems in colors. I'm using LibreOffice 5.2.3.3 on OpenSuse Leap 42.1.

saygina gravatar imagesaygina ( 2016-12-15 10:04:48 +0200 )edit