-
Notifications
You must be signed in to change notification settings - Fork 11
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
use matplotlib color maps #127
Comments
Hi @burdinskid13, this works fine for me - what version o FSLeyes are you using?
|
I installed fsleyes using the recommended option |
And what version of matplotlib do you have installed? What happens when you try to use a built-in colour map? Do you get any error messages? Is an output file produced? |
I currently have matplotlib: 3.7.1. I don't get any error messages when I use the built-in color maps from fsleyes and the output is produced correctly |
By "built-in", I meant a matplotlib colour map, e.g. |
Sorry, I thought you meant built-in to fsleyes. Here is the error message when I use
|
Hmm, I suspect that you may have multiple versions of FSLeyes installed - going by the line numbers in the stack trace, it looks like you are using version 1.8.x. Earlier when you reported that you were using 1.10.1, I'm guessing that you were using a diferent FSLeyes installation. Can you update FSLeyes and matplotlib in the conda environment that you are using? You should be able to do this with a command such as:
|
Hi there! I have been trying to use fsleyes render together with two matplotlib color maps that I'd like to use. I cannot figure out how to properly add them to this command to make it work unfortunately. Any help would be much appreciated! Specifically, I'd like to use the Greens and Purples colormaps in the places of $cmap_pos and $cmap_neg. See my code below, which works fine with the built-in color maps in the places of $cmap_pos and $cmap_neg. Thank you!
The text was updated successfully, but these errors were encountered: