-
Notifications
You must be signed in to change notification settings - Fork 33
Description
Heya!
This issue is opened to decide what to do with the view_corr_mat and partially to address the issue #148.
view_corr_mat in
- make_figures.py - load corr mat from a file, plot corr mat, save the output.
Basically, it is almost identical function to one in scripts/visualisation_commands.py. The one in visualisation_commands.py is better because PR #108 updated the view_corr_mat in visualisation_commands.py, now the function accepts corr_mat as a dataframe object, numpy_array, and as a path to file containing corr_mat.
- scripts/visualisation_commands.py
What I suggested is to redesign view_corr_mat in order to use the seaborn.heatmap().
Why? - from my perspective, it is better to rely on the already created solutions and seaborn.heatmap has a wide variety of parameters so it provides great flexibility to adjust plot to your preferences.
Here are the comparisons (saved viz outputs) between the existed function and the potentially new one:
Use new colormap - 'YlGnBu'
To sum up, with seaborn.heatmat we could have the same figures as with the existed corr_mat but as a bonus a lot more nice features (read - parameters to function).



