Coverage for mlos_viz/mlos_viz/tests/__init__.py: 75%

4 statements  

« prev     ^ index     » next       coverage.py v7.6.7, created at 2024-11-22 01:18 +0000

1# 

2# Copyright (c) Microsoft Corporation. 

3# Licensed under the MIT License. 

4# 

5"""Unit tests for mlos_viz.""" 

6 

7import sys 

8 

9import seaborn # pylint: disable=unused-import # (used by patch) # noqa: unused 

10 

11BASE_MATPLOTLIB_SHOW_PATCH = "mlos_viz.base.plt.show" 

12 

13if sys.version_info >= (3, 11): 

14 SEABORN_BOXPLOT_PATCH = "dabl.plot.supervised.sns.boxplot" 

15else: 

16 SEABORN_BOXPLOT_PATCH = "seaborn.boxplot"