From b722e5f960372130657060d14afbca468ff2b7ae Mon Sep 17 00:00:00 2001 From: IanCa Date: Thu, 22 Feb 2024 14:56:00 -0600 Subject: [PATCH] Siwtch to a font matplotlib should have by default --- tests/tools/visualization/test_tag_word_cloud.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tools/visualization/test_tag_word_cloud.py b/tests/tools/visualization/test_tag_word_cloud.py index 81e84442..1516f3b9 100644 --- a/tests/tools/visualization/test_tag_word_cloud.py +++ b/tests/tools/visualization/test_tag_word_cloud.py @@ -29,12 +29,12 @@ def test_create_wordcloud_font(self): word_dict = {'tag1': 5, 'tag2': 3, 'tag3': 7} width = 400 height = 200 - wc = tag_word_cloud.create_wordcloud(word_dict, width=width, height=height, font_path="Sarai") + wc = tag_word_cloud.create_wordcloud(word_dict, width=width, height=height, font_path="Serif") self.assertIsInstance(wc, wordcloud.WordCloud) self.assertEqual(wc.width, width) self.assertEqual(wc.height, height) - self.assertIn("Sarai", wc.font_path) + self.assertIn("Serif", wc.font_path) def test_create_wordcloud_font_direct(self): word_dict = {'tag1': 5, 'tag2': 3, 'tag3': 7}