-
Notifications
You must be signed in to change notification settings - Fork 34
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
Add option to set colorbar ticks and label in plot_connectivity_circle
#262
Add option to set colorbar ticks and label in plot_connectivity_circle
#262
Comments
I am more inclined to teach users how to find a colorbar for any matplotlib figure, since there are lots of things you might want to set (title, ticks, spacing, etc.). Did you find any reasonable / reliable way to get the colorbar axes? Maybe it just lives in |
It does live in I agree that it might be worth it expanding the tutorials. I don't know what would be a reasonable level though. There are quite many steps to make figures like the one below. My workaround to manipulate the colorbar has been to just make the necessary tweaks to Perhaps we could add a |
Agreed it's not easy to find. At least for images you can do for example:
But no idea if that's the case here.
That would be okay. Another option that might be even better (?) would be to add a |
This approach doesn't seem to work for the
This sounds good to me. I can test whether it works as expected and then make a PR. I think it's necessary to somehow indicate in the docstring of |
Sure I think a sentence in the |
Question for @larsoner about the implementation: why |
Those would probably be better, I just forget about them! |
Describe the problem
The connectivity circle visualization function currently does not allow much control over the colorbar. I think many users might want to set a label for the colorbar and control the tick locations to produce figures closer to publication quality. It appears somewhat difficult to change these and find the colorbar instance after the figure is created.
Describe your solution
It's very simple of course. I can make a PR adding a few parameters to the plotting function here and in
mne.viz.circle
if this is something others consider valuable. Perhaps something likecolorbar_ticks
andcolorbar_label
.The text was updated successfully, but these errors were encountered: