I just updated some code to work with v1.0 of Julia and Gadfly, and the SVG output from Gadfly that used to work fine with MS Office now renders without color, the svg editor Inkscape also renders it with no color.
using Gadfly, RDatasets
iris = dataset("datasets", "iris")
p = plot(iris, x=:SepalLength, y=:SepalWidth, color=:Species, Geom.point);
p |> SVG("test.svg",15cm,10cm)
While the resulting svg file looks like expected in a web browser, when inserted into MS Word it looks more or less like this: (png below exported to png from inkscape)
I have a similar issue. I’m using Gadfly to plot a time series with points, a line uniting the points and a lm smoothing line, saving all of them to an SVG file. The graph looks fine when I save it, but when I put it in an Open Office document, both lines disappear. Saving and copying it as a PNG doesn’t cause that. Could both issues be related?
At least some widespread versions of Inkscape do not recognize the `“rgba()” fill spec (used in the PR mentioned by @bjarthur) . The “fill-opacity” attribute seems to be more widely acceptable.
I would revert to 5464bc54b87e54b2930dfce082c4478859360457 which is before the initial changes in fillopacity. The duplicate fillopacity attribute was fixed in c414a3f34b5f78a6c373e7303429ec52150c23af, but that introduced the RGBA usage.