Skip to content

Add test cases in optuna/visualization/matplotlib/edf.py#2642

Merged
nzw0301 merged 1 commit intooptuna:masterfrom
keisuke-umezawa:feature/add-test-case-matplotlib
May 6, 2021
Merged

Add test cases in optuna/visualization/matplotlib/edf.py#2642
nzw0301 merged 1 commit intooptuna:masterfrom
keisuke-umezawa:feature/add-test-case-matplotlib

Conversation

@keisuke-umezawa
Copy link
Copy Markdown
Member

Motivation

Add more test cases similar to optuna/visualization/matplotlib/edf.py

Description of the changes

  • Check numbers of lines
  • Check titles of figures

Copy link
Copy Markdown
Member

@hvy hvy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot, LGTM!

The x-axis label could actually be checked in all cases since it's always present but this seems consistent with the plotly unit tests. Again, thanks!

@hvy hvy self-assigned this May 6, 2021
@hvy hvy added the test Unit test. label May 6, 2021
@hvy
Copy link
Copy Markdown
Member

hvy commented May 6, 2021

@nzw0301 would you like to jump in as a second reviewer?

@hvy
Copy link
Copy Markdown
Member

hvy commented May 6, 2021

The unrelated CI failures should be fixed in the master branch. Could you rebase/merge with the master to rerun the tests?

Copy link
Copy Markdown
Member

@nzw0301 nzw0301 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@nzw0301 nzw0301 merged commit b9103a0 into optuna:master May 6, 2021
@hvy hvy added this to the v2.8.0 milestone May 6, 2021
@keisuke-umezawa keisuke-umezawa deleted the feature/add-test-case-matplotlib branch May 7, 2021 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Unit test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants