Skip to content
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

Fixed color range and added show_cbar option in plot_swanson_vector #12

Merged
merged 5 commits into from
Sep 17, 2024

Conversation

berberto
Copy link
Contributor

@berberto berberto commented Sep 4, 2024

  1. The vmin/vmax options did not have any effect: the range of value always turned out to be the min and max of the values to be plotted. That is now fixed.
  2. The cmap only worked for string option -- can also accept Colormap object (useful for custom colormaps)
  3. Added show_cbar option to plot a colorbar

@berberto berberto marked this pull request as ready for review September 4, 2024 10:08
@berberto
Copy link
Contributor Author

berberto commented Sep 4, 2024

Attaching script and data to test new version.

test_swanson.zip

@berberto berberto closed this Sep 4, 2024
@berberto berberto reopened this Sep 4, 2024
@mayofaulkner
Copy link
Contributor

Thanks Alberto, i'll merge these changes and release!

@mayofaulkner mayofaulkner merged commit ab0525a into int-brain-lab:main Sep 17, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants