We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0abb40b commit 725ba00Copy full SHA for 725ba00
Sources/SwiftPlot/Heatmap.swift
@@ -73,6 +73,8 @@ extension Heatmap: HasGraphLayout, Plot {
73
width: size.width / Float(results.columns),
74
height: size.height / Float(results.rows)
75
)
76
+ results.itemSize.width.round(.down)
77
+ results.itemSize.height.round(.down)
78
// Calculate markers.
79
markers.xMarkers = (0..<results.columns).map {
80
(Float($0) + 0.5) * results.itemSize.width
0 commit comments