welch-lab / VeloVAE

Deep Generative Modeling of RNA Velocity
BSD 3-Clause "New" or "Revised" License
35 stars 6 forks source link

a minor adjustments in the colorbar #1

Open hansen7 opened 2 years ago

hansen7 commented 2 years ago

Thanks for the contribution! I've find a minor adjustment is required for my dev environments.

https://github.com/welch-lab/VeloVAE/blob/1f918f51019295e7dafce3377920e0511bb19060/velovae/plotting.py#L534

should be cbar = plt.colorbar(sm, ax=ax)

g-yichen commented 2 years ago

Thank you for your feedback! We've added this change as suggested.