Skip to content

Commit

Permalink
removed unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethEnevoldsen committed Dec 26, 2021
1 parent 2b0c688 commit d1df00a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions asent/visualize.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ def make_colors(n=10, cmap="RdYlGn"):
yield matplotlib.colors.rgb2hex(rgba)


def print_colors(HEX: Iterable) -> None:
"""An utility function for visualizing a color map"""
from IPython.core.display import HTML, display
# def print_colors(HEX: Iterable) -> None:
# """An utility function for visualizing a color map"""
# from IPython.core.display import HTML, display

for color in HEX:
display(HTML(f'<p style="color:{color}">{color}</p>'))
# for color in HEX:
# display(HTML(f'<p style="color:{color}">{color}</p>'))


# # Visualize analysis (as opposed to prediction)
Expand Down

0 comments on commit d1df00a

Please sign in to comment.