-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed the expected type for
HeatMap.z
from Option<Vec<Z>>
to `O…
…ption<Vec<Vec<Z>>>` (#157) * changed the HeatMap `zmin, zmax` and `zmid` setters to take `f64` arguments - with `Vec<Vec<T>>` as an input for `HeatMap.z` it infers that `Z` has the type `Vec<T>` which breaks the setter for `zmin`, `zmax` and `zmid` . The take scalar types and should be inferred as `T` * added `customized_heat_map` function to showcase the working `zmin` and `zmax` * updated tests and example Signed-off-by: Andrei Gherghescu <[email protected]> --------- Signed-off-by: Andrei Gherghescu <[email protected]> Co-authored-by: Andrei Gherghescu <[email protected]>
- Loading branch information
Showing
2 changed files
with
86 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters