We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
df = Daru::DataFrame.new({y1: [11, 15, 8], y2: [9, 10, 3]}, index: ["a", "b", "c"])
df.plot type: :bar, y: :y1 do |plot, diagram| plot.y_label "Frequency" plot.x_label "Category" plot.yrange [0,20] end
Throws NoMethodError: undefined method to_sym' for nil:NilClass`
NoMethodError: undefined method
I would expect it to behave like Daru::Vector and take the index as default axis.
Daru::Vector
dv = df[:y1]
dv.plot type: :bar, y: :y1 do |plot, diagram| plot.y_label "Frequency" plot.x_label "Category" plot.yrange [0,20] end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Throws
NoMethodError: undefined method
to_sym' for nil:NilClass`I would expect it to behave like
Daru::Vector
and take the index as default axis.The text was updated successfully, but these errors were encountered: