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 09d480b commit 0030236Copy full SHA for 0030236
1 file changed
src/unicode_plot/interface/barplot.cr
@@ -47,7 +47,7 @@ module UnicodePlot
47
formatter: fmt, xscale: xscale
48
)
49
50
- xlab = transform_name(xscale.is_a?(Symbol) ? xscale.as(Symbol) : :identity, xlabel)
+ xlab = transform_name(xscale, xlabel)
51
plot = Plot.new(area,
52
border: border, title: title, xlabel: xlab,
53
margin: margin, padding: padding,
0 commit comments