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

layout.show(n) showing only n-1 panels #5827

Open
SebastianBehrens opened this issue Dec 19, 2024 · 2 comments
Open

layout.show(n) showing only n-1 panels #5827

SebastianBehrens opened this issue Dec 19, 2024 · 2 comments
Labels
area: plots Issues related to Plots category. bug Something isn't working lang: r support

Comments

@SebastianBehrens
Copy link

SebastianBehrens commented Dec 19, 2024

System details:

Positron and OS details:

Positron Version: 2024.12.0 (system setup) build 96
Code - OSS Version: 1.93.0
Commit: c5ce275
Date: 2024-11-28T02:50:45.229Z
Electron: 30.4.0
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631

Interpreter details:

R 4.4.1

Describe the issue:

The following code snippet is not resulting in the right output.

layout(matrix(
      c(1, 1, 1,
        1, 1, 1,
        1, 1, 1,
        2, 2, 2), nrow=4, byrow=TRUE))
layout.show(n=2)

Expected or desired behavior:

Expected layout:
Image
Received layout:
Image

@nstrayer
Copy link
Contributor

Thank you for reporting this!

I can reproduce this on a mac as well.

Interestingly if you run the plot code twice and toggle between the two, the second plot will display correctly:
Image

@nstrayer
Copy link
Contributor

Might be related to #3562.

@nstrayer nstrayer added bug Something isn't working area: plots Issues related to Plots category. labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: plots Issues related to Plots category. bug Something isn't working lang: r support
Projects
None yet
Development

No branches or pull requests

3 participants