We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a69f6de commit 02185a0Copy full SHA for 02185a0
1 file changed
lib/matplotex/figure/areal/bar_chart.ex
@@ -168,11 +168,11 @@ defmodule Matplotex.Figure.Areal.BarChart do
168
@xmin_value |> Nx.linspace(nof_x, n: nof_x) |> Nx.to_list()
169
end
170
171
- defp bar_position(x, pos_factor) when pos_factor < 0 do
+ defp bar_position(x, pos_factor) do
172
x + pos_factor
173
174
175
- defp bar_position(x, _pos_factor), do: x
+
176
177
defp list_of_ticks(data, step) do
178
1..length(data)
0 commit comments