Skip to content

Commit

Permalink
Merge pull request #174 from abhro/patch-1
Browse files Browse the repository at this point in the history
Fix optimize_ticks docstring signature
  • Loading branch information
BeastyBlacksmith authored Feb 12, 2025
2 parents e1beb9e + dcfa351 commit 568bc1e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/ticks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ end
optimize_ticks() = Any[]

"""
optimize_ticks(xmin, xmax; extend_ticks::Bool = false,
Q = [(1.0,1.0), (5.0, 0.9), (2.0, 0.7), (2.5, 0.5), (3.0, 0.2)],
k_min = 2, k_max = 10, k_ideal = 5,
granularity_weight = 1/4, simplicity_weight = 1/6,
coverage_weight = 1/3, niceness_weight = 1/4,
strict_span = true, span_buffer = nothing)
optimize_ticks(xmin, xmax; extend_ticks::Bool = false,
Q = [(1.0,1.0), (5.0, 0.9), (2.0, 0.7), (2.5, 0.5), (3.0, 0.2)],
k_min = 2, k_max = 10, k_ideal = 5,
granularity_weight = 1/4, simplicity_weight = 1/6,
coverage_weight = 1/3, niceness_weight = 1/4,
strict_span = true, span_buffer = nothing)
Find some reasonable values for tick marks.
Expand Down

0 comments on commit 568bc1e

Please sign in to comment.