-
Notifications
You must be signed in to change notification settings - Fork 17
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
after updating no points are added with points() #228
Comments
Hi @aacocucci - we had to make some changes to plot-margin handling in
If that doesn't help — would you mind sharing the snippet of code you're using to create your plot? |
Thanks to your quick reply. However, even with your example green points added with points are not shown in my computer. I use the latest R version and Ubuntu 18.04 |
That's odd. Would you mind installing the dev version then trying again? So just use |
Yep. Now your example works ok! |
Ah, excellent! Glad to hear it. |
Sorry, does that mean that I have to alway run the dev version?
…___________________
Dr. Andrea Cocucci
Laboratorio de Ecología Evolutiva y
Biología Floral
IMBIV (CONICET-UNC)
0351-5353800 ext 30010
WEB <https://eebfblog.wordpress.com/>
El dom, 14 mar 2021 a las 21:08, Thomas White ***@***.***>)
escribió:
Ah, excellent! Glad to hear it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#228 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATG62MBE5Z4YFLEYAFAQETLTDVFXJANCNFSM4ZEJ67KA>
.
|
Good question - but no, only until we release this version with the fix to that particular bug, and it's available on CRAN. We'll probably be doing that in the next few weeks, after which time |
New issues pop up when I follow your suggestion.
This is what I get with your example
[image: imagen.png]
…___________________
Dr. Andrea Cocucci
Laboratorio de Ecología Evolutiva y
Biología Floral
IMBIV (CONICET-UNC)
0351-5353800 ext 30010
WEB <https://eebfblog.wordpress.com/>
El lun, 15 mar 2021 a las 16:50, Thomas White ***@***.***>)
escribió:
Good question - but no, only until we release this version with the fix to
that particular bug, and it's available on CRAN. We'll probably be doing
that in the next few weeks, after which time v2.7.0 will be the version
you get when you update your package or run install.packages(pavo), so
you can just go back to using the 'release' version.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#228 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATG62MBZG6DDWO72XYMDQILTDZQHBANCNFSM4ZEJ67KA>
.
|
That image doesn't seem to have uploaded correctly? You might need to log onto GitHub & this issue thread directly instead of replying to the email chain, at a guess. |
At a guess, it looks like some plotting parameters, like the margins, are being adjusted somewhere in your script between plotting & adding points? Especially if it worked before, but doesn't now. Below is an example of what I mean, but the error can creep in in a number of ways if your script is long and/or complex, so it's probably simplest to try running that example code in a completely clean session (i.e. exit everything, then run only those few example lines above). If that works correctly, then you'll need to have a look through your script to double-check you're setting the plotting parameters ( Run a modellibrary(pavo) Plot 1, with an example margin-tweak between plotting & adding pointsplot(hex.flowers[1:10, ]) Plot 2, with outer margins reset to their default (or just run the example code with a completely clean session to test if this is the problem)par(oma = c(0, 0, 0, 0)) # default outer-margin |
The plot I posted some days ago was run in a clean session with your script and nothing else. |
Hi @aacocucci 👋, could you please post here the output of It might help us find out what's different between your computer and ours and could cause this issue. |
$ylog $adj $ann $ask $bg $bty $cex $cex.axis $cex.lab $cex.main $cex.sub $col $col.axis $col.lab $col.main $col.sub $crt $err $family $fg $fig $fin $font $font.axis $font.lab $font.main $font.sub $lab $las $lend $lheight $ljoin $lmitre $lty $lwd $mai $mar $mex $mfcol $mfg $mfrow $mgp $mkh $new $oma $omd $omi $pch $pin $plt $ps $pty $smo $srt $tck $tcl $usr $xaxp $xaxs $xaxt $xpd $yaxp $yaxs $yaxt $ylbias |
Oh sorry, there was a typo in my previous message. The correct command for session info is: sessioninfo::session_info() |
There again in a clean session
─ Packages ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── [1] /home/andrea/R/x86_64-pc-linux-gnu-library/3.6 |
$ylog $adj $ann $ask $bg $bty $cex $cex.axis $cex.lab $cex.main $cex.sub $col $col.axis $col.lab $col.main $col.sub $crt $err $family $fg $fig $fin $font $font.axis $font.lab $font.main $font.sub $lab $las $lend $lheight $ljoin $lmitre $lty $lwd $mai $mar $mex $mfcol $mfg $mfrow $mgp $mkh $new $oma $omd $omi $pch $pin $plt $ps $pty $smo $srt $tck $tcl $usr $xaxp $xaxs $xaxt $xpd $yaxp $yaxs $yaxt $ylbias |
Thank you! It should work if you install the latest version from CRAN (released a couple of days ago): install.packages("pavo")
sessioninfo::session_info() # should show that pavo is now on version 2.7.0 Hopefully it will solve your issues. |
Thanks! It works perfect now. |
After updating to version 2.6.1 I cannot add points to an hexagon built with colspace(x, space = 'hexagon') using points(). This was working ok before with the same script
The text was updated successfully, but these errors were encountered: