PlotlyJS.jl
PlotlyJS.jl copied to clipboard
Title gets cut off in Juno but normal from separate window
I am using the example of linescatter2() and find that:
In Juno, title is cut off,

However, in the separate window from REPL, everything is good, as fixed in #131

I find that the default margin set is different in both situation, wherein Juno is
"margin": { "l": 40, "b": 30, "r": 10, "t": 10},, in REPL is margin": { "l": 50, "b": 50, "r": 50, "t": 60}. I am not sure why it is not consistent.
I am using Julia v0.6.3, everything else, including package, Atom, etc., is up-to-date.
Very good debugging.
When we first added Juno support the large margins didn't look very good, so we made them smaller.
I don't recall where we make that change, but if we can track it down it would be easy to re-optimize that setting.
I'm sorry, but I don't think I will have the chance to hunt it down right now. If you are able to look you could either comment here or make a pull request and we'll work on getting the fix merged into the library