Docs.rs
ggplot-rs-0.67.0
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
nice_step
ggplot_
rs
0.67.0
In ggplot_
rs::
scale::
util
ggplot_rs
::
scale
::
util
Function
nice_
step
Copy item path
Source
pub fn nice_step(raw:
f64
) ->
f64
Expand description
Round step size to a “nice” value (1, 2, 5, 10, 20, 50, …).