Skip to content

Commit

Permalink
update PlotGen.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
erichiller committed Feb 12, 2024
1 parent 9615eb0 commit a0e6ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PlotGitHubAction/PlotGen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private static void createPlot( string jsonString, string plotDefinitionsDir ) {

if ( config.YAxisType switch {
AxisType.Percent => new ScottPlot.TickGenerators.NumericAutomatic { LabelFormatter = static v => $"{v:p1}" },
# AxisType.Numeric => new ScottPlot.TickGenerators.NumericFixedInterval { Interval = 1 },
// AxisType.Numeric => new ScottPlot.TickGenerators.NumericFixedInterval { Interval = 1 },
AxisType.Numeric => new ScottPlot.TickGenerators.NumericAutomatic { IntegerTicksOnly = true },
_ => ( ITickGenerator? )null
} is { } tickGenerator ) {
Expand Down

0 comments on commit a0e6ed6

Please sign in to comment.