-
Notifications
You must be signed in to change notification settings - Fork 55
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
network_plot() colours not correct if only positive correlations are plotted #19
Comments
Hi,
|
Hi @mhnierhoff, are you using the latest development version (0.1.0.900)? If not, install via:
|
Hi @drsimonj thanks for your quick reply. I installed the lastest dev version and the error messages does not pop up. But now the plot is just empty in the RStudio plot pane and the correlations for the network plot only become visible when I click on the Export button.
|
Oh - I found out that the visbility of the correlation lines depends on the pane size for plots. I just moved RStudio to another screen and made the right panes smaller and et voila the network lines are now visibile. But I don't think that this behavior is intended. ;) |
Thanks @mhnierhoff. The plot is being made with ggplot2, so I'm not sure if it's something specific to network_plot() or ggplot2. I'll keep an eye on this and see if this behaviour can be fixed. |
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue. |
network_plot() with only positive correlations shown result in red paths being drawn. E.g., try
mtcars %>% correlate() %>% network_plot(min_cor = .9)
This is probably because the colours are not explicitly assigned.
The text was updated successfully, but these errors were encountered: