Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/elftausend/graplot
/ test_desc_render
Function
test_desc_render
tests/desc.rs:22–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
20
21
#[test]
22
fn test_desc_render() {
23
let mut plot = Plot::new([1., 2., 3., 4., 5.]);
24
plot.set_desc(Desc {
25
spacing_x: 180.,
26
..Default::default()
27
});
28
plot.show();
29
}
Callers
nothing calls this directly
Calls
2
set_desc
Method · 0.45
show
Method · 0.45
Tested by
no test coverage detected