Skip to content

Commit

Permalink
make bugs fixedfor the colors list set
Browse files Browse the repository at this point in the history
  • Loading branch information
xieguigang committed Feb 9, 2025
1 parent 22a58e7 commit eb75022
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ Namespace Heatmap
.main = mainTitle,
.mapLevels = mapLevels,
.LegendLayout = legendLayout,
.colors = customColors,
.legendSize = legendSize.SizeParser,
.reverseColors = reverseClrSeq,
.drawClass = drawClass,
Expand All @@ -174,6 +173,10 @@ Namespace Heatmap
.scaleMethod = drawScaleMethod
}

If Not customColors.IsNullOrEmpty Then
app.colors = customColors
End If

Return app.Plot(size.SizeParser, dpi:=ppi, driver:=driver)
End Function
End Module
Expand Down

0 comments on commit eb75022

Please sign in to comment.