cloud icon indicating copy to clipboard operation
cloud copied to clipboard

change 2d plotting to use svg=True by default... once upstream bugs are fixed

Open williamstein opened this issue 11 years ago • 2 comments

2d plotting uses svg=False by default because of a bug in Chrome which is hit by the matplotlib renderer. The following svg=True draws nothing, but with svg=False, draw a single vertical line:

 show(line([(10,0), (10,10)],axes=False), svg=True)

Links:

Ideas to fix this: somehow hack matplotlib to get around this, change our renderer (e.g., write a whole new renderer using something like maybe <svgjs.com> that completely avoids using matpltolib, for enhanced interactivity), or fix the bug in chrome.

I don't like using png's that much, since they look crappy on my HiDPI display...

williamstein avatar Sep 29 '13 04:09 williamstein

Chrome 33 no longer seems to have this bug.

Safari 7 does.

mdboom avatar Jan 27 '14 18:01 mdboom

Yeah Chrome!! Finally.

Safari... is like Chrome-- these days.

williamstein avatar Jan 27 '14 18:01 williamstein