Skip to content
New issue

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

Add PlotKey::Type2D for bar plots #5

Closed
DJDuque opened this issue May 24, 2022 · 0 comments
Closed

Add PlotKey::Type2D for bar plots #5

DJDuque opened this issue May 24, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@DJDuque
Copy link
Owner

DJDuque commented May 24, 2022

Add an XBar and YBar to generate bar plots. These should have an internal structure for the bar width and bar shift keys.

It should be basically the same as the time I implemented Type2D::Smooth(f64):
659f09d

Should the internal structure just be (f64, f64)? Or maybe something like:

pub struct bar {
    bar_width: Option<f64>,
    bar_shift: Option<f64>,
}
@DJDuque DJDuque added the good first issue Good for newcomers label May 24, 2022
@DJDuque DJDuque added the enhancement New feature or request label May 24, 2022
@DJDuque DJDuque self-assigned this Jun 5, 2022
DJDuque added a commit that referenced this issue Jun 5, 2022
Fix issue #5. Add Type2D::XBar and Type2D::YBar
@DJDuque DJDuque closed this as completed Jun 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant