Skip to content
Snippets Groups Projects
Commit cf788d64 authored by Alán Muñoz's avatar Alán Muñoz
Browse files

feat(plot): add plot.py utils

parent 658460e3
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env jupyter
"""
Basic plotting functions for cell visualisation
"""
from matplotlib import pyplot as plt
def plot_overlay(bg, fg, alpha=0.5, ax=plt) -> None:
ax.imshow(bg, cmap=plt.cm.gray, interpolation="none")
ax.imshow(fg, alpha=alpha, interpolation="none")
ax.axis("off")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment