Skip to content

Commit

Permalink
Reformat code.
Browse files Browse the repository at this point in the history
  • Loading branch information
OLarionova-HORIS committed Apr 10, 2024
1 parent 6db90b2 commit d4423fa
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -402,10 +402,8 @@ open class PlotConfigBackend(
// Try the same formatter that is used for the continuous scale
val breaksPattern = SeriesUtil.toDoubleList(distinctValues.toList())
?.let { doubleList -> SeriesUtil.range(doubleList) }
?.let { range ->
val breaksHelper = DateTimeBreaksHelper(range.lowerEnd, range.upperEnd, distinctValues.size)
breaksHelper.pattern
}
?.let { range -> DateTimeBreaksHelper(range.lowerEnd, range.upperEnd, distinctValues.size).pattern }

// Other patterns to choose the most good one
val patterns = listOf(
"%Y",
Expand Down

0 comments on commit d4423fa

Please sign in to comment.