Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Looks good! |
| ] | ||
|
|
||
| # This is grey followed by PuOr5 | ||
| colorscale_default = ["#cccccc", "#5e3c99", "#b2abd2", "#f7f7f7", "#fdb863", "#e66101"] |
There was a problem hiding this comment.
Nice to have this defined in a common location. Could we also now use this within the plot_cnv_hmm_heatmap() function so we know the same colours for CNV states are being used throughout?
|
Thanks @alimanfoo . I have set the palette for |
Thanks @jonbrenas, good call. |
plot_diplotype_clustering_advancedplot_diplotype_clustering_advanced
|
@jonbrenas Pylint is telling me that it's "dangerous" to have a mutable list as a default value for an argument, so we might want to remedy this at some point. |
|
Thanks @leehart. Is Python's policy that all parameters should be tuples then? |
|
Hi @jonbrenas - I'm not sure yet what we should be doing instead, if anything, since this is just a warning from a linter, but I've logged a new issue to "put a pin in it" #787 Further reading:
|
Resolves #559.
I followed bokeh's lead (and @sanjaynagi's hint) and replaced
NaNs with-1. I have been trying to usezhoverformatto have thezvalue show asNaNinstead of-1but I couldn't find a way to make it work.Here is a picture of what it looks like:
