Skip to content

Commit

Permalink
fix how measures are displayed on plot axes
Browse files Browse the repository at this point in the history
  • Loading branch information
ablaom committed Jan 18, 2024
1 parent e3293dc commit a90975b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plotrecipes.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@recipe function f(mach::MLJBase.Machine{<:EitherTunedModel})
rep = report(mach)
measurement = string(typeof(rep.best_history_entry.measure[1]))
measurement = repr(rep.best_history_entry.measure[1])

Check warning on line 3 in src/plotrecipes.jl

View check run for this annotation

Codecov / codecov/patch

src/plotrecipes.jl#L3

Added line #L3 was not covered by tests
r = rep.plotting
z = r.measurements
X = r.parameter_values
Expand Down

0 comments on commit a90975b

Please sign in to comment.