-
-
Notifications
You must be signed in to change notification settings - Fork 203
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
Edges disappear after second identical plot() statement; when using transparent edge colors (alpha < 1). #640
Comments
Related problems with alpha channel are observed in Stack Overflow:
|
Is this happening with the latest development version from the |
The transparencies of the arrow heads are also wrong on Windows, igraph version ‘1.3.4’. This is a separate issue. Regarding the par()$xpd issue: how to download and try the latest development version for Windows? |
Ah sorry, I forgot that you are on Windows. I'll submit the source to win-builder and post a link to the results here. |
Here's the latest dev version for R 4.2: https://win-builder.r-project.org/DFE1mD2399tN/ It will be online for the next 72 hours. You can install it by downloading it and then typing |
I have downloaded and installed the igraph version as requested. To summarize:
(3) The transparencies of the edge arrowheads are still incorrect.
The problem does not occur with |
@krlmlr I'm a bit stumped with this issue; can you take a look at it whenever it's convenient for you. To reproduce:
|
We would need more visual tests to have confidence in fixing or refactoring the plotting code. |
The difference in colors comes from the fact that the arrow heads are drawn multiple time when Lines 966 to 973 in fc769f7
The variable is not reset to its origin value and then again duplicated Lines 987 to 1003 in fc769f7
Hence, the arrow heads get drawn on top of each other This is fixed in #1709 |
Describe the bug
Edges disappear after second identical plot() statement when using transparent edge colors (alpha < 1).
Note par()$xpd is flipped from FALSE to TRUE.
To reproduce
Version information
R/igraph version: [1] compiler_4.1.3 magrittr_2.0.1 rlang_1.0.5 pkgconfig_2.0.3
R version: R version 4.1.3 (2022-03-10)
Operating system: Windows 10 x64 (build 22621)

The text was updated successfully, but these errors were encountered: