Skip to content

Commit

Permalink
Merge pull request #409 from DHI/skilltable-style-test
Browse files Browse the repository at this point in the history
Fix SkillTable style
  • Loading branch information
ecomodeller authored Feb 1, 2024
2 parents 8843b7e + 190b339 commit ab274b8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/test_aggregated_skill.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,15 @@ def test_skill_style(cc2):
sk.style(cmap="viridis_r", show_best=False)


def test_styled_skill_can_be_rendered(cc2):
sk = cc2.skill()
# _repr_html_ is called by Jupyter
sk._repr_html_()

styled_skill = cc2.skill().style()
styled_skill._repr_html_()


def test_skill_round(cc2):
sk = cc2.skill()

Expand Down

0 comments on commit ab274b8

Please sign in to comment.