-
Notifications
You must be signed in to change notification settings - Fork 18
Prepare for cargo publish
#6
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
base: master
Are you sure you want to change the base?
Conversation
| @@ -1,6 +1,6 @@ | |||
| use piston_window::{EventLoop, PistonWindow, WindowSettings}; | |||
| use plotters::prelude::*; | |||
| use plotters_piston::{draw_piston_window, PistonBackend}; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PistonBackend is unused.
| .caption("Real Time CPU Usage", ("sans-serif", 30)) | ||
| .x_label_area_size(40) | ||
| .y_label_area_size(50) | ||
| .build_ranged(0..N_DATA_POINTS as u32, 0f32..1f32)?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
build_ranged is now deprecated in favor of build_cartesian_2d
| [dependencies] | ||
| plotters-backend = "0.3.0" | ||
| plotters-backend = "0.3.2" | ||
| piston_window = "0.120.0" | ||
|
|
||
| [dev-dependencies] | ||
| plotters = {version = "0.3.0", default_features = false, features = ["ttf", "all_series"]} | ||
| systemstat = "0.1.5" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated by cargo upgrade.
closes #5