DEIVA icon indicating copy to clipboard operation
DEIVA copied to clipboard

big black rectangle in SVG of MA plot, hex bin (screenshots incl)

Open antonkratz opened this issue 9 years ago • 1 comments

I download the current hex bin MA plot as SVG and want to further work with this vector image in Inkscape to prepare a figure. Most of the plot is a big black rectangle. By clicking more or less randomly in the image, I figured out that the plot is actually there, but hidden behind a big black rectangle, which can be removed. See screen shots.

(Downloading the MA plot as scatter plot does not work at all - maybe related to previous issue #10 ?!)

This might be a problem upstream not related to DEIVA, not sure. Just wanted to file an issue.

versions used:

  • Google Chrome (Version 55.0.2883.87 (64-bit)) under Xubuntu 16.04.
  • Inkscape 0.91
  • DEIVA v1.0.1

screenshot_2017-01-19_17-14-58 screenshot_2017-01-19_17-17-13

antonkratz avatar Jan 19 '17 08:01 antonkratz

It appears that the "brush" layer (here: https://github.com/Hypercubed/DEIVA/blob/master/app/components/scatter/scatter-chart.js#L186) is render opaque in the browser but not in inkspace. Need to add .style('fill', 'none') to this element. PRs welcome.

Hypercubed avatar Jan 19 '17 19:01 Hypercubed