Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion optuna/visualization/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _is_log_scale(trials: list[FrozenTrial], param: str) -> bool:
if param not in trial.params:
continue
dist = trial.distributions[param]
return isinstance(dist, (FloatDistribution, IntDistribution)) and dist.log
return (type(dist) is FloatDistribution or type(dist) is IntDistribution) and dist.log
return False


Expand Down