SAMRI
SAMRI copied to clipboard
Correlation matrix example does not work.
The recently contributed correlation matrix function seems to not work properly. It produces the following plot:
Not least of all, it took a bit of fixing to get it to even execute, in the future, please try to:
- import needed functions 903e227ac756284b4cd13564e3ae58a62a3ba04c
- handle plausible input type possibilities in the appropriate fashion 2374ddaf2333f3e7b62ffc3ca5f4c70859268000
- indent with tabs 23cb4db79be1d57bebb01d7873e24eb84dc1af90
Also, while it is cool that the correlation matrix function can save the data file for later plotting, ideally we would not do this in any example (to avoid dropping trace files everywhere). This is best done by only saving when an optional save_as
string argument evaluates to True.
Reviewed and edited suggested changes. Should work now, also atlas annotation fixed. For testing please replace filenames and in the labels csv line 177 replace ‘,’ by something else (
Accessory olfactory bulb: glomerular, external plexiform and mitral cell layer ), since it messes up the parsing.
result should be something like this