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

Add 2D plot functions (save + alternative layout) #8

Merged
merged 3 commits into from
Mar 10, 2022

Conversation

MathieuBo
Copy link
Contributor

Good afternoon,

Thanks a lot for developping bg-heatmaps. This is an excellent tool.
I have implemented additional args for the 2D plotting function, just thought it could be useful to others.

Additions:

  • add a save function by passing a filename arg to heatmap.show()
  • ability to provide a colorbar label: cbar_label to heatmap.show()
  • ability to have "nude" plots with no axes (useful for illustration purposes): nude_plot=True (default is False) toheatmap.show()

Let me know if of interest to you and if you need edits.
Cheers,
Mathieu

@FedeClaudi
Copy link
Contributor

awesome thank you so much! That looks great and very useful.

Only, can we change nude_plot to something more explicit like hide_axes?

@MathieuBo
Copy link
Contributor Author

Great! I edited the arg name to hide_axes as suggested.

@FedeClaudi
Copy link
Contributor

brilliant, I'll merge it thank you.

@FedeClaudi FedeClaudi merged commit 34343bb into brainglobe:main Mar 10, 2022
@FedeClaudi
Copy link
Contributor

Published on pypi https://pypi.org/project/bgheatmap/

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.

None yet

2 participants