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

[BUG] With Juno 0.11 plots no longer scale to plot pane #392

Closed
Sleort opened this issue Oct 9, 2019 · 6 comments
Closed

[BUG] With Juno 0.11 plots no longer scale to plot pane #392

Sleort opened this issue Oct 9, 2019 · 6 comments
Labels

Comments

@Sleort
Copy link

Sleort commented Oct 9, 2019

After updating to Juno 0.11 (Juno.jl v0.7.2), plots no longer scale to the plot pane, but rather to the "global" Atom window size. I.e. only a fraction of the plot is shown by default:

Screenshot from 2019-10-09 11-15-00
Screenshot from 2019-10-09 11-28-46

Details

  • Atom version: 1.40.1
  • Julia version: 1.2.0
  • OS: Ubuntu 19.04
  • Package versions:
    • Atom.jl: v0.11.0
    • julia-client: 0.11.1
    • ink: 0.11.2

Steps to reproduce

  1. Start Juno and make sure that the plot pane is some fraction of the program window.
  2. Run
using Plots
plot(sin)

either in the REPL or in a .jl file.

@Sleort Sleort added the bug label Oct 9, 2019
@aviatesk
Copy link
Member

aviatesk commented Oct 9, 2019

Can't repro this. Which version of Plots.jl are you using, exactly ?

@Sleort
Copy link
Author

Sleort commented Oct 9, 2019

That's strange... I'm using Plots.jl v0.27.0

@pfitzseb
Copy link
Member

pfitzseb commented Oct 9, 2019

Probably solved by JunoLab/atom-ink#233.

@pfitzseb pfitzseb closed this as completed Oct 9, 2019
@Sleort
Copy link
Author

Sleort commented Oct 10, 2019

Yes, that solved the problem. Thank you!

A minor annoyance, though: contrary to previously, the rescaling to the plot plane is now rather visible on my computer:
Peek 2019-10-10 09-46
Would it be possible to render the plot only after it has been scaled, thus avoiding this glitch?

@pfitzseb
Copy link
Member

Possibly. My priority was to get the fix out as soon as possible though.

@pfitzseb
Copy link
Member

Fixed with JunoLab/atom-ink@e1e3074. Still a bit janky, but whatever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants