PlotlyJS.jl icon indicating copy to clipboard operation
PlotlyJS.jl copied to clipboard

Title gets cut off in Juno but normal from separate window

Open shipengcheng1230 opened this issue 7 years ago • 1 comments
trafficstars

I am using the example of linescatter2() and find that: In Juno, title is cut off, image

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

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.

shipengcheng1230 avatar Jul 03 '18 16:07 shipengcheng1230

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

sglyon avatar Jul 03 '18 18:07 sglyon