You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The R kernel sends svg plots with the "isolate" metadata set. This is used in the notebook to embed the svg in an iframe. nbconvert does not do this, the svg is inserted directly in the exported html, which causes it to be garbled :-/:
text, PNG, and SVG seems perfectly sane. the only problem is that you can’t simply plot thousands of dots without lagging, but that’s OK since there’s no way you could understand thousands of dots in a plot, so you have to do some statistic anyway.
i also like SVG being there because it exposes bugs in IRkernel and jupyter (like this one).
i like seeing bugs, instead of knowing they’re there, lurking in the dark
The R kernel sends svg plots with the "isolate" metadata set. This is used in the notebook to embed the svg in an iframe. nbconvert does not do this, the svg is inserted directly in the exported html, which causes it to be garbled :-/:
Example: https://stackoverflow.com/questions/35827734/trouble-when-exporting-notebook-to-html-on-jupyter-with-r-kernel/36605462#36605462
You can find a notebook and an exported html file here: https://gist.github.com/janschulz/247597c6a09382987475647e4964702d
-> The second plot displays nicely in the notebook, but has garbled x axis labels in the exported html.
@flying-sheep: did I mention that I hate our current plotting type defaults? I think I did :-)
The text was updated successfully, but these errors were encountered: