Skip to content

BUG: Changed colour scale of contour plot by matplotlib for consistancy with plotly results#2711

Merged
Crissman merged 1 commit intooptuna:masterfrom
01-vyom:matplotlib-colour-scale-2595
Jun 2, 2021
Merged

BUG: Changed colour scale of contour plot by matplotlib for consistancy with plotly results#2711
Crissman merged 1 commit intooptuna:masterfrom
01-vyom:matplotlib-colour-scale-2595

Conversation

@01-vyom
Copy link
Copy Markdown
Contributor

@01-vyom 01-vyom commented May 31, 2021

Motivation

The colour scale for plotly and matplotlib was different: #2595 (comment)

Description of the changes

reversed cmap: cmap = cmap.reversed()

Before MatplotLib results:
Before_Color_Scale

After MatplotLib results:
After_Color_Scale

Plotly Scale Results:
plotly

@github-actions github-actions bot added the optuna.visualization Related to the `optuna.visualization` submodule. This is automatically labeled by github-actions. label May 31, 2021
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.

Looks great to me!

Copy link
Copy Markdown
Contributor

@Crissman Crissman left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the PR!

@Crissman Crissman merged commit 5ccaa4d into optuna:master Jun 2, 2021
@Crissman Crissman added this to the v2.8.0 milestone Jun 2, 2021
@01-vyom 01-vyom deleted the matplotlib-colour-scale-2595 branch June 2, 2021 05:12
@hvy hvy added the enhancement Change that does not break compatibility and not affect public interfaces, but improves performance. label Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Change that does not break compatibility and not affect public interfaces, but improves performance. optuna.visualization Related to the `optuna.visualization` submodule. This is automatically labeled by github-actions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants