Commit graph

7 commits

Author SHA1 Message Date
Olivier Goffart
ffccef4e0c Examples: replace all _ by - in identifiers 2021-08-10 22:21:01 +02:00
Simon Hausmann
0be0e07116 Fix build
Amends commit 0852a7661b
2021-08-10 17:30:30 +02:00
Simon Hausmann
d023475f1c Rename Image::new_rgb*() to Image::from_rgb* 2021-08-10 15:56:01 +02:00
Simon Hausmann
50f4b08b6e Remove imgref and rgb dependencies from the plotter example
With `as_bytes_mut()` on `SharedPixelBuffer` those dependencies are not needed anymore,
they are now implicit.
2021-08-10 15:56:01 +02:00
Simon Hausmann
485fc72d15 Adapt the plotter example to the SharedImageBuffer API removal 2021-08-10 15:56:01 +02:00
Simon Hausmann
2d374a3ff9 internal cleanup: Remove commented out plotters dependency 2021-08-10 15:56:01 +02:00
Simon Hausmann
1d83837228 Add a plotter example using plotters
This is kind of an interactive port of
https://github.com/38/plotters/blob/master/examples/3d-plot2.rs
2021-08-10 15:56:01 +02:00