Skip to content

Commit

Permalink
Remove unnecessary set log scale
Browse files Browse the repository at this point in the history
  • Loading branch information
not522 committed Dec 16, 2024
1 parent 47237d1 commit 243ab7f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions optuna/visualization/matplotlib/_contour.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,6 @@ def _generate_contour_subplot(
) = _calculate_griddata(info)
cs = None
if len(zi) > 0:
if info.xaxis.is_log:
ax.set_xscale("log")
if info.yaxis.is_log:
ax.set_yscale("log")
if info.xaxis.name != info.yaxis.name:
# Contour the gridded data.
ax.contour(xi, yi, zi, 15, linewidths=0.5, colors="k")
Expand Down

0 comments on commit 243ab7f

Please sign in to comment.