JuliaPlots / JuliaPlots/PlotlyJS.jl

Title gets cut off in Juno but normal from separate window

Open
#194 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
444
Forks
86
PR merge metrics
No merged PRs in 30d

Description

I am using the example of `linescatter2()` and find that:
In Juno, title is cut off,
![image](https://user-images.githubusercontent.com/11856151/42232845-bd1f64ac-7ebd-11e8-8b02-b6225af74f12.png)

However, in the separate window from REPL, everything is good, as fixed in [#131](https://github.com/sglyon/PlotlyJS.jl/issues/131)
![image](https://user-images.githubusercontent.com/11856151/42232891-e006a4f8-7ebd-11e8-9e18-4d96a3aac02e.png)

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the `linescatter2()` example in Juno and in the separate REPL window, then compare the reported default margins and title rendering. Use issue #131 as the prior reference; done means the title is fully visible and the default margins behave consistently in both environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, plotly
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.