Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import matplotlib
|
| 2 |
import matplotlib.pyplot as plt
|
| 3 |
from PIL import Image, ImageDraw
|
|
|
|
| 4 |
|
| 5 |
def heatmap(data, row_labels, col_labels, ax=None,
|
| 6 |
cbar_kw=None, cbarlabel="", **kwargs):
|
|
|
|
| 1 |
import matplotlib
|
| 2 |
import matplotlib.pyplot as plt
|
| 3 |
from PIL import Image, ImageDraw
|
| 4 |
+
import numpy as np
|
| 5 |
|
| 6 |
def heatmap(data, row_labels, col_labels, ax=None,
|
| 7 |
cbar_kw=None, cbarlabel="", **kwargs):
|