Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

right side of plot is not using correct color #148

Closed
sschelm opened this issue Nov 13, 2017 · 3 comments
Closed

right side of plot is not using correct color #148

sschelm opened this issue Nov 13, 2017 · 3 comments

Comments

@sschelm
Copy link

sschelm commented Nov 13, 2017

Julia version 0.6.1
Atom version 1.22.0
Juno version 0.1.2
Plots version 0.13.1
PlotlyJS version 0.7.1

I was using PlotlyJS inside Juno and changed the plot pane theme to "Juno".
This is what I got.
screen shot 2017-11-13 at 17 28 54

Please, notice the white border over the complete height of the right edge.
Checking with the default color white, I noticed that this area is cutting of the rightmost axis label as well.

I don't see this behaviour with pyplot, gr nor glvisualize.
Here's the same plot with the gr() backend.
screen shot 2017-11-13 at 17 29 17

It looks to me, like there's some issue with the definition of the right side of the plot, as well as with the color there.

@sglyon
Copy link
Member

sglyon commented Nov 13, 2017

Hmm that is odd indeed. What happens when you drag the border of the plot pane to resize it? Does the issue persist?

cc @pfitzseb who knows more about the Plot pane than I

@sschelm
Copy link
Author

sschelm commented Nov 13, 2017

Resizing snaps the right side back again. Thanks for the tip.
Though the right side is still very close to the graph. Instead of showing the axis tick at 1800 completely, it just barely shows "180"

@sglyon
Copy link
Member

sglyon commented Nov 13, 2017

For that I think you will need to adjust layout.margin.r to a larger value. You can use a style to automatically set that for you

@sglyon sglyon closed this as completed Nov 13, 2017
@sglyon sglyon reopened this Nov 13, 2017
@sglyon sglyon closed this as completed Dec 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants